This project contains a sample REST API built using Go and the Echo framework, having a MongoDB database.
It contains configurations from top to bottom to meet almost all needs of a small scale REST API, including:
- CSRF cookies
- JWT
- Password hashing using Argon2
- CORS
- Panic recovery
- Prometheus metrics
- Data caching
- SMTP for email sending (used for user invites)
- Custom error handling and logging
- Much more
Notes: even though most of the code present in this project is production ready, please do not use this project as-is in a production environment!