Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davorbadrov/api-boilerplate
https://github.com/davorbadrov/api-boilerplate
api hapi node
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/davorbadrov/api-boilerplate
- Owner: davorbadrov
- License: mit
- Created: 2017-08-14T16:50:24.000Z (over 7 years ago)
- Default Branch: sequelize
- Last Pushed: 2017-11-25T16:50:38.000Z (about 7 years ago)
- Last Synced: 2024-10-17T13:13:59.607Z (2 months ago)
- Topics: api, hapi, node
- Language: JavaScript
- Size: 136 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# api-boilerplate
A hapi starter boilerplate to speed up basic bootstraping of backend applications. Work in progress.
## Config
Server configuration is loaded through ENV variables. For development they are read through the `.env` file, for production they have to be provided when starting the server.
To start developing copy the `.env.example` to `.env` and fill it with your values.
**NOTE:** Make sure to keep `.env` out of the repository.
## Style guide
The style guide used is [standard.js](https://standardjs.com/). It can be run through `npm run format` manually, and it will be run automatically on `git commit`.