10 Commits

Author SHA1 Message Date
Automated Action
1318b2a78b Update README to document username-based authentication 2025-05-26 14:14:50 +00:00
Automated Action
185226a858 Refine username field migration to follow SQLite constraints 2025-05-26 13:36:26 +00:00
Automated Action
2e92746b97 Fix username field migration script to correct index syntax 2025-05-26 13:35:24 +00:00
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
07dc69217a Fix CORS policy for frontend integration
- Add specific Netlify frontend domain to allowed origins
- Replace wildcard origin with explicit list of allowed origins
- Add additional CORS configuration for better performance and security
- Expose headers for better API communication
2025-05-26 12:24:23 +00:00
Automated Action
215640c310 Modify root endpoint to return API information
- Change root endpoint to return API information in JSON format
- Include links to documentation and available endpoints
- Keep the endpoint in the OpenAPI schema
2025-05-26 11:56:27 +00:00
Automated Action
c1c91cc80f Fix OpenAPI documentation in production environment
- Move OpenAPI schema to root path for easier access
- Add ROOT_PATH setting to support deployments behind proxies
- Add root route that redirects to documentation
2025-05-26 11:31:16 +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
Automated Action
b6b9d8b0bf Initial commit from template 2025-05-26 09:54:00 +00:00