An open API service indexing awesome lists of open source software.

https://github.com/hackersdotmu/build-node-app

Generate a nodejs API by running one command!
https://github.com/hackersdotmu/build-node-app

api build-node-app expressjs node-boilerplate node-cli-boilerplate nodejs

Last synced: 3 months ago
JSON representation

Generate a nodejs API by running one command!

Awesome Lists containing this project

README

          

# Build Node App

Build a node application boilerplate by running one command!

![Live example of build-node-app running](https://github.com/hackersdotmu/build-node-app/blob/master/gifs/tutorial.gif)

## How to use?
```
$ npx build-node-app app-name
```

## Example
```
$ npx build-node-app hello-world
$ cd hello-world
$ node index.js
```

## Directory
```
hello-world
- node_modules/
- index.js
- package.json
```

## Arguments
| 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 |

[NPM Package](https://www.npmjs.com/package/build-node-app) - [Github Repository](https://github.com/hackersdotmu/build-node-app/)