
- Create project structure with FastAPI and SQLAlchemy - Implement database models for items, categories, suppliers, and stock movements - Add CRUD operations for all models - Configure Alembic for database migrations - Create RESTful API endpoints for inventory management - Add health endpoint for system monitoring - Update README with setup and usage instructions generated with BackendIM... (backend.im)
4 lines
485 B
Python
4 lines
485 B
Python
from app.crud.item import get_items, get_item, get_item_by_sku, create_item, update_item, delete_item, update_item_quantity
|
|
from app.crud.category import get_categories, get_category, get_category_by_name, create_category, update_category, delete_category
|
|
from app.crud.supplier import get_suppliers, get_supplier, get_supplier_by_name, create_supplier, update_supplier, delete_supplier
|
|
from app.crud.stock_movement import get_stock_movements, get_stock_movement, create_stock_movement |