
- Created user model with SQLAlchemy ORM - Implemented authentication with JWT tokens (access and refresh tokens) - Added password hashing with bcrypt - Created API endpoints for registration, login, and user management - Set up Alembic for database migrations - Added health check endpoint - Created role-based access control (standard users and superusers) - Added comprehensive documentation
3 lines
157 B
Python
3 lines
157 B
Python
# Import all the models, so that Base has them before being imported by Alembic
|
|
from app.db.base import Base # noqa
|
|
from app.models.user import User # noqa |