API which returns people who are listed as either living in London, or whose current coordinates are within 50 miles of London.
If you have docker installed, you can run docker-compose up
to build and run the app.
Alternatively, you can run locally without redis:
npm i
npm run dev
npm run test
- API Documentation ❌
- Swagger considered but there is no API contract and the endpoint is already simple enough
- Caching ✅
- Circuit Breaker ✅
- Docker ✅
- Error Handling ✅
- Logging ❌
- Would implement Winston when necessary
- OWASP ❌
- No API Contract specified but if in production could consider an API Key and Rate limiting
- Process manager ❌
- PM2 considered but was not part of requirements
- Twelve Factor App ✳️
- Has been considered and relevant practices applied