This is the backend part of the exif-remover website.
This is a express/nodejs based backend that gets a file as input and return a medatada cleaned file, using exiftool for it.
to run this project you'll need:
to run as dev, first get the exiftool binary by running:
chmod +x ./setup.sh
./setup.sh
then run:
npm install && npm run dev
to build the project, first get the exiftool binary by running:
chmod +x ./setup.sh
./setup.sh
then run:
npm install && npm run build
and finally start using:
npm run start
With all seted up and running send a file to localhost:3333/files
#example with curl
curl -i -X POST -H "Content-Type: multipart/form-data" -F "data=@file/path.jpeg" localhost:3333/files
then it may return a json array containing the cleaned files in base64 format.