Clone the project
git clone https://github.com/DGCP3/Image-Processing-API.gitGo to the project directory
cd Image-Processing-APIInstall dependencies
npm installStart the server
npm run startFor testing
npm test- Resize image
- Blur/Sharp image quality
- Convert image format type
- Other things that shap can handle
GET /image| Parameter | Type | Description |
|---|---|---|
filename |
string |
Required. filename of image that you want to process |
width |
number |
Optional. width of processed image |
height |
number |
Optional. height of processed image |
format |
string |
Optional. file type of processed image |
GET /Return 200 if server is up and running
Server: Typescript, Node, Express, Sharp