exigen
v1.1.0
Published
ExpressJS REST API sample projekt generator
Downloads
5
Maintainers
Readme
Exigen ExpressJS REST API project generator
Install
npm i -g exigen
Create project
mkdir app01
cd app01
Install dependencies
Install dependencies:
npm i
Create REST API project
REST API sample with Employees:
exi init
Development server
Start development server:
npm start
Modle and controller generator
For example:
exi generate model product
exi generate controller product
The fields in the model must be completed. Add the routes in the router/api.js file and you're done.