Scripts Install: npm install Build: npm run build Prettier: npm run prettier Lint: npm run eslint Run unit tests: npm run test Start server: npm run start
The server will listen on port 5000:
Brief instructions http://localhost:5000/
Endpoint to resize images http://localhost:5000/api/images?src=palmtunnel&w=500&h=500
Endpoint to delete image http://localhost:5000/api/images/delete?src=palmtunnel&w=500&h=500
Expected arguments
src: palmtunnel w > 0 or null h > 0 or null
Notes images are saved under ./assets/full