1.0.0 • Published 2 years ago
crudgenerate v1.0.0
crudGenerate
Used for generating controllers, services, routes, and schema readily available for use.
Features
User controlled populates
User has now the control to set populate
query parameters with their own liking.
The GET APIs support up to three comma separated values, which process those values and populate those fields.
Search
User can be able to search by adding a field
query parameter, and assigning the value
query parameter to be able to start a search.
When to Use
There are two crudGenerate routers that will create routes for you:
- generateRoutes - generates basic CRUD routes that has all the functionality. Used in admin routes.
- generateFilteredRoutes - the route that generates limited CRUD routes that has its own parameter. Used in client routes which has their own ID (eg. employee number).
1.0.0
2 years ago