@thesuhu/express-rest-api-generator

1.0.4 • Public • Published

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

Package Sidebar

Install

npm i @thesuhu/express-rest-api-generator

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

17.1 kB

Total Files

10

Last publish

Collaborators

  • thesuhu