fiber-ent-admin

module
v0.0.0-...-4e78a55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2023 License: MIT

README

Example application using Ent, Fiber and React Admin.

How to use

Clone the repo.

$ git clone https://github.com/sinisaos/fiber-ent-admin.git
$ cd fiber-ent-admin
$ cp .env.example .env && rm .env.example
$ make server

Generate the schema

To generate changes in the Ent schema.

$ make generate

Run tests

To run tests.

$ make tests

After application is running you can visit localhost:3000/swagger/ and use interactive Swagger documentation which was generated using Entoas, with minor modifications to use authorization.

Admin interface

To create superuser.

$ make superuser

When the superuser is created, restart the server and at localhost:3000 we can login as superuser in the admin interface. After that we can perform CRUD operations with basic filtering and sorting.

Directories

Path Synopsis
admin
cli
ent
ogent
Code generated by ogen, DO NOT EDIT.
Code generated by ogen, DO NOT EDIT.
tag
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL