Resizer is a nodejs,express endpoind tested with jasmine and supertest for resizing images.
Use the package manager npm to install dependencies.
npm i
Resizer is a express/nodejs project tested with jasmine/supertest, protected with helmet,rate-limit and suported by eslint/prittier, it resize any Image in public/full directory with the follwing quiry variables,
name: String , width: Number, height: Number
//example
Requesting : (get);
DomainName:3000/image?name='imageName'&width='1080'&height='780'
Requsted images will be cached in public/thumb directory to save your resources.
build from typescript to javascript:
npm run build
fromat and organize TS project:
npm run clean-code
build and test project:
npm run clean-code
run nodemon in developing:
npm runn start-dev-server
run build:
npm runn start-server
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.