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

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

Awesome Lists containing this project

README

          

# Node.js Express API Scaffold

[![Build Status](https://travis-ci.org/danielrohers/nodejs-express-api-scaffold.svg?branch=master)](https://travis-ci.org/danielrohers/nodejs-express-api-scaffold)
[![Code Climate](https://codeclimate.com/github/danielrohers/nodejs-express-api-scaffold/badges/gpa.svg)](https://codeclimate.com/github/danielrohers/nodejs-express-api-scaffold)
[![Dependency Status](https://david-dm.org/danielrohers/nodejs-express-api-scaffold.svg)](https://david-dm.org/danielrohers/nodejs-express-api-scaffold)
[![devDependency Status](https://david-dm.org/danielrohers/nodejs-express-api-scaffold/dev-status.svg)](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)