It is an image resizer simple API.
npm install
- Clone the project
- Enter project folder
- npm install
- npm run start
- make sure that image file name is one of these: fjord, encenadaport, icelandwaterfall, palmtunnel, santamonica
- add with and height with valid input (numbers > 0)
- example:
- cd build
- node index.js
- server starts in: localhost:3000/api/images
- using same parameters as described above to use the endpoint
- example:
- npm run build (to compile ts code)
- npm run test (to run jasmine test suits)
- npm run lint
- npm run format(to run prettier)
- npm run start