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

https://github.com/killmenot/challenge-git


https://github.com/killmenot/challenge-git

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Example Server

This is an example of a basic HTTP API server.

Includes:

* [x] `standard` for code style
* [x] `productionize` for log formatting
* [x] `healthpoint` for health checks
* [x] `tape` for testing
* [x] `servertest` for endpoint testing
* [x] `nodemon` for auto-restart in development
* [x] `nyc` for code coverage
* [x] `dependency-check` to ensure no missing or extra dependencies
* [x] `http-hash-router` for routing
* [x] `send-data` for JSON response
* [x] `req-logger` for request logging
* [x] `dotenv`, `.env.example`, and `config.js` for env vars
* [x] example `db.js` and `model.js`
* [x] `body` for JSON POST body parsing
* [x] `pump` for stream piping
* [x] endpoint/route callback argument for error handling (with request id)
* [x] `corsify` for CORS
* [x] `authentic-service` and `authify.js` for authentication