1.0.0 • Published 2 years ago

crudgenerate v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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:

  1. generateRoutes - generates basic CRUD routes that has all the functionality. Used in admin routes.
  2. 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).