An image optimization API
Endpoint /optimization
- Body
image
: The binary image (50 MB max.) requiredmode
: The optimize mode (aggressive
,mid
,shy
) defaults tomid
Docker
docker build -t piccolo .
docker run -p 3000:3000 -it piccolo
Standard
npm install
npm start
- Add tests and CI
- Write some documentation on a Github page
- Add Dockerfile
- Publish the Docker image
- Add configuration file
- Add the resizing feature