#project name: image processing API.
tools used: nodeJS , express, prettier, eslint, sharp, jasmine and typescript.
to run the project
- npm i - to download the dependencies in the project
- npm run start - to start the server // the server runs at port 3030
- npm run build- to transpile the files from typescript to JS
- npm run lint - for code quality
- npm run fix - for auto fixing using lint
- npm run test - to start jasmine unit testing
- npm run prettier - for code formatting
request queries
- name of the image
- width of the image
- height of the image
here's a working endpoint http://localhost:3030/img?name=fjord&width=300&height=400
- you can exchange the name with any of these names in the array
['encenadaport', 'fjord', 'icelandwaterfall', 'palmtunnel', 'santamonica']