https://github.com/danielrohers/nodejs-express-api-scaffold
API application featuring Node.js, Express and MongoDB
https://github.com/danielrohers/nodejs-express-api-scaffold
api express mongodb mongoose node scaffold
Last synced: 9 months ago
JSON representation
API application featuring Node.js, Express and MongoDB
- Host: GitHub
- URL: https://github.com/danielrohers/nodejs-express-api-scaffold
- Owner: danielrohers
- License: other
- Created: 2016-01-08T13:26:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-02-14T17:32:44.000Z (over 9 years ago)
- Last Synced: 2025-08-11T04:28:41.524Z (11 months ago)
- Topics: api, express, mongodb, mongoose, node, scaffold
- Language: JavaScript
- Homepage: https://nodejs-express-api-scaffold.herokuapp.com/doc
- Size: 486 KB
- Stars: 16
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Node.js Express API Scaffold
[](https://travis-ci.org/danielrohers/nodejs-express-api-scaffold)
[](https://codeclimate.com/github/danielrohers/nodejs-express-api-scaffold)
[](https://david-dm.org/danielrohers/nodejs-express-api-scaffold)
[](https://david-dm.org/danielrohers/nodejs-express-api-scaffold#info=devDependencies)
## Setup
**Requirements**
> [MongoDB](https://www.mongodb.org)
> [Node.js](https://nodejs.org)
**Install dependencies**
```bash
$ [sudo] npm install
```
or
```bash
$ yarn
```
## Launching
First start MongoDB if you don't have a running instance
```bash
$ mongod
```
**Development**
```bash
$ npm start
```
or use [nodemon](https://www.npmjs.com/package/nodemon)
```bash
$ npm run dev
```
**Production**
```bash
$ node bin/www
```
[Running Example](https://nodejs-express-api-scaffold.herokuapp.com)
## License
[Licence](LICENSE)