
- Set up FastAPI application with SQLite database - Create User model with email and password fields - Implement JWT token-based authentication - Add user registration and login endpoints - Create protected user profile endpoints - Configure Alembic for database migrations - Add password hashing with bcrypt - Include CORS middleware and health endpoint - Update README with setup and usage instructions Environment variables required: - SECRET_KEY: JWT secret key for token signing
8 lines
159 B
Plaintext
8 lines
159 B
Plaintext
fastapi==0.104.1
|
|
uvicorn==0.24.0
|
|
sqlalchemy==2.0.23
|
|
alembic==1.13.0
|
|
python-jose[cryptography]==3.3.0
|
|
passlib[bcrypt]==1.7.4
|
|
python-multipart==0.0.6
|
|
ruff==0.1.6 |