- Node
- Sinon
- expressjs
- mocha
- chai
- supertest
- swagger-ui-express
- Get all products
- Get Product by Id
- Health Check
- Error Handling
Clone down this repository. You will need node and npm installed globally on your machine.
-
Installation:
$ npm install
-
To Run Test Suite:
$ npm test
-
To Start Server:
$ npm start
https://github.com/sankarms15/amp-node-test
Open the preferred command prompt and run the docker command
- docker build -t amp-node-test
- docker run -p 3000:3000 amp-node-test