How silent20m/capstone-b- works
This is a Costco smart-shopping web app backed by SQLite. A shopper loads the product catalogue, filters or searches it, adds items to an in-browser cart, and can use catalogue-based shopping-list suggestions. The Node server serves the frontend and exposes product and health endpoints; a separate Python server provides read endpoints for additional database tables. The database schema also models orders, payments, reviews, and saved shopping lists, but the sampled runtime does not show checkout or persistence for the UI cart. Evidence is limited to the sampled source; the README is empty.
Main entry points: app.js Catalogue and filters · server.js Node API and static server · capstone_b.db Shopping database · server.py Python read API
Components 8
Shopping interface
- Catalogue and filters
frontend/app.js - In-memory cart
frontend/app.js - List suggestions
frontend/app.js
API services
- Node API and static server
backend/server.js - Python read API
backend/server.py
SQLite data
- Shopping database
database/capstone_b.db - Relational schema
database/setup_database.py
Other components
- Shopper
Connections 9
- Shopper → Catalogue and filters: browses
frontend/app.js - Catalogue and filters → Node API and static server: fetches products
frontend/app.js - Node API and static server → Shopping database: queries products
backend/server.js - Node API and static server → Catalogue and filters: serves frontend
backend/server.js - Catalogue and filters → In-memory cart: adds items
frontend/app.js - Shopper → In-memory cart: manages quantities
frontend/app.js - Catalogue and filters → List suggestions: suggests matches
frontend/app.js - Python read API → Shopping database: queries tables
backend/server.py - Relational schema → Shopping database: creates tables
database/setup_database.py