UNPKG

@infomaker/http-test-server

Version:

IMID HTTP Test Server

33 lines (25 loc) 669 B
# Infomaker authentication-lib ## Example implementations ``` npm install cd examples/[express|hapi-16|hapi17] npm install IM_LOG_NAME="example.json" IM_LOG_LEVEL="info" npm start ``` The running example app will be available at [http://localhost:8080/](http://localhost:8080/). Read `server.js` and `routes.js` in the example folder to see of to use the plugins. ## Plugins - [Hapi plugin](./src/plugins/hapi/README.md) - [Express middleware](./src/plugins/express/README.md) ## Develop the project ### Run the unit tests ``` docker-compose up ``` ### Rebuild after updates to package.json ``` docker-compose down docker-compose build docker-compose up ``` ***