3 Commits

Author SHA1 Message Date
Automated Action
da59077885 Switch from email to username for authentication
- Add username field to User model
- Update authentication endpoints to use username instead of email
- Create migration for adding username column to user table
- Update user services to handle username validation and uniqueness
- Maintain email for compatibility, but make username the primary identifier
2025-05-26 13:17:17 +00:00
Automated Action
f942ce333e Fix OpenAPI schema generation and Pydantic model compatibility
- Update Pydantic models to use model_config instead of Config class for v2 compatibility
- Fix CORS settings to allow all origins in development mode
- Fix circular imports in auth.py
- Remove unused imports
2025-05-26 11:12:38 +00:00
Automated Action
538a985c8e Build e-commerce API with FastAPI and SQLite
Create a complete e-commerce application with the following features:
- User authentication and authorization
- Product and category management
- Shopping cart functionality
- Order processing
- Database migrations with Alembic
- Comprehensive documentation
2025-05-26 11:05:27 +00:00