Build a node application boilerplate by running one command!
$ npx build-node-app app-name
$ npx build-node-app hello-world
$ cd hello-world
$ node index.js
hello-world
- node_modules/
- index.js
- package.json
Arg | Argument | Description |
---|---|---|
-p | --port | Specify port number to serve the app. Default is 3000 |
--mongodb | Install and import mongodb to your app | |
--mysql | Install and import mysql to your app | |
--cors | Install and import cors to your app | |
--git | Initialise the project as a git project. Add .git and .gitignore | |
-v | --version | Specify version of app |