Add rate limiting for security

- Add httprate dependency for rate limiting
- Apply 10 requests per minute limit on auth endpoints
- Prevent brute force attacks on login/register
- Update README with security features
This commit is contained in:
2025-11-26 20:37:52 +01:00
parent b859c3da0c
commit 353a6c1f4b
3 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -8,8 +8,10 @@ Self-hosted habit tracking service with a clean, hexagonal architecture.
- **Flexible scheduling**: Daily, Weekly, Monthly with specific days
- **Carry-over support**: Choose if incomplete habits persist or expire
- **Full history tracking**: Complete audit trail of all interactions
- **Charts & Analytics**: Heatmaps, line charts, and statistics
- **Statistics**: Track streaks, completion rates, and progress
- **Self-hosted first**: Easy deployment with SQLite
- **Security**: JWT authentication, rate limiting on auth endpoints
- **API Documentation**: Interactive Swagger UI
## Quick Start