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

https://github.com/thisisjuke/dockerized-node-hapi-jest

Bootstraped 📦 Simple Dockerized 🐋 Node project : HapiJS + Rooting + Data Model + Unit tests (Jest)
https://github.com/thisisjuke/dockerized-node-hapi-jest

Last synced: about 2 months ago
JSON representation

Bootstraped 📦 Simple Dockerized 🐋 Node project : HapiJS + Rooting + Data Model + Unit tests (Jest)

Awesome Lists containing this project

README

          

# bootstrap-node-jpeg
Bootstrap of Node with JEST for unit testing.

### HOW TO DO (all commands in the folder) :
- start : `docker-compose up`
- install packages : `docker-compose exec node yarn`
- launch JEST test : `docker-compose exec node yarn test`

- Route of index (hello world) : `http://localhost:8001`
- Route of test (return JSON) : `http://localhost:8001/test`