Developed under Node 8.11.3 with Express, Axios and Jest for testing, under TDD methodology.
Both APIs and end-points tested with Jest on development.
It tooked a little more than 6 hours.
To run app:
git clone https://github.com/AttilaSATAN/ncap-wrapper
cd ncap-wrapper
npm i
node app
Endpoints, have to be tested against a running server. Before runnig tests make sure app is running in a separate terminal.
npm test
There is one more command for continuous test driven development. It watches changes on js files and run tests.
npm run tdd