
- 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
4 lines
83 B
Python
4 lines
83 B
Python
from sqlalchemy.ext.declarative import declarative_base
|
|
|
|
|
|
Base = declarative_base() |