1.0.4 • Published 4 years ago
@thesuhu/express-rest-api-generator v1.0.4
express-rest-api-generator
The easy way to generate rest API with express.
Install
npm install -g @thesuhu/express-rest-api-generatorQuick Start
Create the app:
restapi [option] [dir]The above command will generate the application directory structure and the files needed to run the application.
Install dependencies:
npm installStart yours rest API at http://localhost:3000/ (You can change the port by changing the PORT environment in the .env file):
npm startor (pre-installed nodemon required)
npm run devOptions
This generator provides the following command line flags.
--version output the version number
-f, --force force on non-empty directory
-h, --help output usage information