This project is a backend service built using Flask that handles user authentication, API routing, and database operations. It is designed to simulate a real-world microservice with modular architecture and middleware handling.
- Layered structure: Routes → Services → Database
- Authentication handled using middleware
- Redis used for caching/session handling
- Config-driven environment setup
- REST API endpoints for user operations
- Token-based authentication middleware
- Database integration for persistent storage
- Redis integration for performance optimization
- Modular and scalable project structure
- Python (Flask)
- Redis
- SQLAlchemy
- REST APIs
- Clone the repository
- Install dependencies:
pip install -r requirements.txt - Set environment variables (create
.env) - Run the application:
python main.py
This project demonstrates backend API design, middleware implementation, and integration with caching and database layers.