
- Set up project structure with FastAPI and SQLite - Create models for products and cart items - Implement schemas for API request/response validation - Add database migrations with Alembic - Create service layer for business logic - Implement API endpoints for cart operations - Add health endpoint for monitoring - Update documentation - Fix linting issues
11 lines
226 B
Plaintext
11 lines
226 B
Plaintext
Generic single-database configuration with SQLite.
|
|
|
|
To run the migrations:
|
|
```
|
|
alembic upgrade head
|
|
```
|
|
|
|
To generate a new migration (after modifying models):
|
|
```
|
|
alembic revision --autogenerate -m "description of changes"
|
|
``` |