
- 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
8 lines
159 B
Plaintext
8 lines
159 B
Plaintext
fastapi==0.104.1
|
|
uvicorn==0.24.0
|
|
sqlalchemy==2.0.23
|
|
alembic==1.12.1
|
|
python-jose[cryptography]==3.3.0
|
|
passlib[bcrypt]==1.7.4
|
|
python-multipart==0.0.6
|
|
ruff==0.1.5 |