Image resizing API that can be used as placeholder API or as a library to serve properly scaled images.
- After downloading the project from the termal run
npm installto install the project dependencies.
- To run the app run
npm run start. - From the browser go to http://localhost:3000/api/imagas .
- To use the api add filename, width, and height parameters to the url.
- example http://localhost:3000/api/images?filename=fjord&width=300&height=200 .
- To build the api run
npm run build. - To run the unit tests run
npm run test.