Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/andreruffert/express-api-ready

Starter project for production-ready API's with express
https://github.com/andreruffert/express-api-ready

api express javascript nodejs server

Last synced: 5 days ago
JSON representation

Starter project for production-ready API's with express

Awesome Lists containing this project

README

        

# express-api-ready

> This is a boilerplate for building production-ready API's with express.

- HTTP request logging via [morgan](https://github.com/expressjs/morgan)
- Security-related HTTP headers via [helmet](https://github.com/helmetjs/helmet)
- CORS support via [cors](https://github.com/expressjs/cors)
- Response compression via [compression](https://github.com/expressjs/compression)
- Body Parsing via [body-parser](https://github.com/expressjs/body-parser)
- Logging via [winston](https://github.com/winstonjs/winston)

## Usage

```bash
# Clone it
$ git clone [email protected]:andreruffert/express-api-ready.git
$ cd express-api-ready

# Make it your own
$ rm -rf .git && git init

# Install dependencies
npm install

# Start a development server
npm run dev

# Start production server
npm start
```

## Created by

- [André Ruffert](https://github.com/andreruffert)

## License

[MIT](LICENSE)