Ramencup
Yet another iteration of rest-api scaffolding for CRUD this time on nestjs
Feature
- Auto generate route and DB access via entity and controller
- Auto validation
- Auto slug generation (yet still not checking with db)
- Auto file upload to url management (supporting aws, digital ocean and gcp)
- Auto relation setup via entity
- Auto setup for db pagination, filter, and sort
- Only deliver field that has been asked via
select
query
Usage
- Copy the
.env.example
into.env
from insideexample
folder. - Copy and modified the content of
app.module.ts
into your root module - Create the module and extend it from our library (you can also check feature module on
example
) - Create the entity and extend it from our library (you can also check feature entity on
example
) - Create the controller and extend it from our library (you can also check feature controller on
example
) - After you hook it up with the root module then the feature can be used instantly