Simple Face API Server, with options to switch to any backend in the future - Node.js TypeScript Express
heroku config:set NPM_CONFIG_PRODUCTION=false
- Bash
npm run build && npm start
- Powershell
npm run build ; npm start
curl -X POST --data-binary @your-image.jpg http://localhost:3000/api/v1/detect-persons -H 'Content-Type: application/octet-stream'