https://github.com/rochdev/express-starter
A simple boilerplate for Express based APIs
https://github.com/rochdev/express-starter
express javascript nodejs rest-api
Last synced: about 1 month ago
JSON representation
A simple boilerplate for Express based APIs
- Host: GitHub
- URL: https://github.com/rochdev/express-starter
- Owner: rochdev
- License: mit
- Created: 2017-03-05T21:01:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-22T12:21:06.000Z (about 9 years ago)
- Last Synced: 2025-01-01T07:44:52.202Z (over 1 year ago)
- Topics: express, javascript, nodejs, rest-api
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Express Starter
A simple boilerplate for Express based APIs
## How to use
Start your project by cloning this repo and removing its git reference.
```sh
git clone https://github.com/rochdev/express-starter.git
rm -rf .git
```
Then simply make sure to update the `package.json`, `README.md` and `LICENSE` files.
## What's included
* Basic API middleware ([cors](https://github.com/expressjs/cors), [body-parser](https://github.com/expressjs/body-parser), [compression](https://github.com/expressjs/compression))
* Basic error handling middleware
* Validation using [Celebrate](https://github.com/continuationlabs/celebrate) and [Joi](https://github.com/hapijs/joi)
* Logging with [bunyan](https://github.com/trentm/node-bunyan)
* ESLint with [standard](https://github.com/feross/eslint-config-standard) configuration
* Unit testing using [mocha](https://mochajs.org/), [chai](http://chaijs.com/), [sinon](http://sinonjs.org/), [proxyquire](https://github.com/thlorenz/proxyquire) and [supertest](https://github.com/visionmedia/supertest)
* Code coverage using [Istanbul](https://istanbul.js.org/)
* Support for [Travis CI](https://travis-ci.org/), [Codecov](https://codecov.io/) and [wallaby.js](https://wallabyjs.com/)
* Automatic server restart on file change using [nodemon](https://nodemon.io/)
* A Dockerfile configured according to the [best practices](https://github.com/nodejs/docker-node/blob/master/docs/BestPractices.md)