1.0.4 • Published 3 years ago

@thesuhu/express-rest-api-generator v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

express-rest-api-generator

npm Build Status license

The easy way to generate rest API with express.

Install

npm install -g @thesuhu/express-rest-api-generator

Quick 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 install

Start yours rest API at http://localhost:3000/ (You can change the port by changing the PORT environment in the .env file):

npm start

or (pre-installed nodemon required)

npm run dev

Options

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

License

MIT

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago