
- 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
175 B
Python
3 lines
175 B
Python
# Import schemas here for easy access
|
|
from app.schemas.user import User, UserCreate, UserUpdate # noqa
|
|
from app.schemas.token import Token, TokenPayload, RefreshToken # noqa |