
- Created project structure with FastAPI framework - Set up SQLite database with SQLAlchemy ORM - Implemented models: User, Item, Supplier, Transaction - Created CRUD operations for all models - Added API endpoints for all resources - Implemented JWT authentication and authorization - Added Alembic migration scripts - Created health endpoint - Updated documentation generated with BackendIM... (backend.im)
7 lines
270 B
Python
7 lines
270 B
Python
# Import all the models, so that Base has them before being
|
|
# imported by Alembic
|
|
from app.db.base_class import Base
|
|
from app.models.item import Item
|
|
from app.models.supplier import Supplier
|
|
from app.models.transaction import Transaction
|
|
from app.models.user import User |