An image processing API that resizes and saves images to user specifications when visiting a URL
Start coding by: Nhu Y Ho
- Clone this repo : https://github.com/nhuyho/image-processing-API.git;
- Remove git remote
- Add new git remote to new service repo
- Update project name at (package.json, newrelic,...)
To install the dependencies for this project, run the following command:
npm install
After installing the dependencies, run the following command to build typescript into javascript and save them in build folder:
npm run build
Start the Server:
npm run start
This command will run the server on port 3000.
npm run test
## API Endpoints
This project an endpoint to resize image by user.
HTTP method: GET.
#### Sample request:
http://localhost:3000/api/images?filename=encenadaport&height=700&width=400