Tool to check if 2 images are same
Features:
- Ability to test how different 2 images are by passing 2 image URL's
- Support CORS
Technical Features:
- Babel support with node environment
- Logging
- Testing with Jest
- Airbnb eslint
- Hooks for commits and push to maiantain code quality.
yarn
Uses chrome inspect flag for debugging.
npm run serve:debug
npm run test
npm run build
cd dist/
node index.js
docker build -t image-comparer .
docker run --shm-size=1gb -p 8080:8080 -h 127.0.0.1 -d image-comparer
Via Postman -
url - http://localhost:8080/compare-images
method - POST
Payload - {"imgUrl1": "image url", "imgUrl2": "image URL"}
Type - RAW (Application/JSON)