API for Google Hangouts Chat Bot contemplating @Laranjo
memes.
- Node v6
- Docker
- Docker-compose v2
- Express
- MongoDB
- Cloudinary (Resurce/Image Upload)
This project use husky npm module to manage git hooks.
Please see husky configuration under package.json
file.
To avoid git hooks execution you can use the --no-verify
flag.
All tests are unitary api level, and done with mocha and sinnon npm modules.
npm run test
Coverage is done with istanbul npm module.
npm run test:cover
Lint is done with eslint and eslint-watch npm modules.
npm run lint
Can also be done in watch mode:
npm run lint:watch
All configuration is done with convict npm module.
Everything can be specified through environment variables.
Docker image build for development purpouse (hot reload).
npm install --dev
docker-compose build
Bring all stack up and running.
docker-compose up
Can also be done simply with npm run start:dev
, but you will need to manage things on your own:
- MongoDB
- Cloudinary
- A lot of environment variables
http://localhost:8000
npm install -g npm-check-updates
ncu -u
npm i
romajs - 2018