
- Set up FastAPI project structure with main.py and requirements.txt - Create User model with SQLAlchemy and SQLite database - Implement JWT token-based authentication system - Add password hashing with bcrypt - Create auth endpoints: register, login, and protected /me route - Set up Alembic for database migrations - Add health check endpoint with database status - Configure CORS to allow all origins - Update README with setup instructions and environment variables
3 lines
82 B
Python
3 lines
82 B
Python
from sqlalchemy.ext.declarative import declarative_base
|
|
|
|
Base = declarative_base() |