You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: backend/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,12 @@ Server starts at `http://localhost:4000` by default.
12
12
13
13
## Database
14
14
15
+
### Issue #26: Move from in-memory store to persistent DB
16
+
15
17
- Uses `node:sqlite` with a local database file at `backend/data/brocode.sqlite`.
16
18
- You can override the location with `BROCODE_DB_PATH=/custom/path.sqlite npm run backend`.
17
19
- On first start, seed data is inserted for users, spots, catalog items, and a sample order.
20
+
- New orders are validated against DB data (known `spotId`, `userId`, `productId`) and item pricing is always derived from catalog prices in the database.
0 commit comments