5 Commits

Author SHA1 Message Date
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