-
install npm packages dependencies
npm i
-
For reference, proposed set of packages with their versions are package.json file as well as in Dependencies section
-
To build and run server
npm run start
-
test the endpoints
-
http://localhost:3000/api/images [GET] (query parameters: filename, width, height)
-
try this URL: http://localhost:3000/api/images?filename=fjord&width=500&height=500
- after the build run this command to do Unit testing
npm run test