7 Commits

Author SHA1 Message Date
Automated Action
dd56203785 Update code via agent code generation 2025-06-12 17:56:11 +00:00
Automated Action
f64c3ea80e Fix Pydantic v2 non-annotated attribute error in Settings class 2025-06-12 17:55:57 +00:00
Automated Action
be1a52976f Fix import of get_current_active_superuser in deps.py 2025-06-12 17:53:02 +00:00
Automated Action
f14ce141af Fix database migration error related to app module imports
- Fixed circular import issue between base.py and base_class.py
- Updated base_class.py to define Base directly and import models
- Refactored base.py to import Base from base_class.py
- Updated all models to import Base from base_class.py
- Enhanced error handling in migrations/env.py to catch ImportError
2025-06-12 17:46:42 +00:00
Automated Action
120794996d Fix database migration error related to app module imports
- Updated migrations/env.py to correctly handle Python import paths
- Modified the import strategy to be more resilient in container environments
- Added proper sys.path handling to support imports when run in different locations
- Fixed incomplete base_class.py file
2025-06-12 17:20:19 +00:00
Automated Action
b078a91dd3 Implement simple ecommerce API with FastAPI and SQLite
- Setup project structure and FastAPI application
- Create SQLAlchemy models for users, products, carts, and orders
- Implement Alembic migrations
- Add CRUD operations and endpoints for all resources
- Setup authentication with JWT
- Add role-based access control
- Update documentation
2025-06-12 17:15:18 +00:00
Automated Action
c630241780 Initial commit from template 2025-06-12 17:06:45 +00:00