How vivekmaddimsetty/shelfwise-shop-manager works
Shelfwise is a small-shop inventory and order manager. A shop owner uses the browser interface to review dashboard summaries, search and maintain products, export the catalog, and compose or cancel orders. The frontend sends API requests to the Python server, which validates requests and applies inventory and order rules backed by SQLite. The README documents transaction-safe stock deduction and restocking on cancellation. The sampled sources show key UI requests and server/database behavior; some details, including the cancellation implementation, are documented but not excerpted.
Main entry points: server.py HTTP API · app.js Dashboard
Components 14
Shop interface
- Dashboard
frontend/app.js - Inventory search
frontend/app.js - Product management
frontend/app.js - CSV export
frontend/app.js - Order entry
frontend/app.js - Order history
frontend/app.js - Responsive layout
frontend/styles.css
Application service
- HTTP API
backend/server.py - Request validation
backend/server.py - Product operations
backend/server.py - Order transactions
backend/server.py - Dashboard summaries
backend/server.py
Persistence
- SQLite database
backend/server.py
Other components
- Shop owner
Connections 18
- Shop owner → Dashboard: reviews
README.md - Shop owner → Inventory search: searches
README.md - Shop owner → Product management: updates
README.md - Shop owner → CSV export: exports
README.md - Shop owner → Order entry: places
README.md - Shop owner → Order history: cancels
README.md - Dashboard → HTTP API: requests
frontend/app.js - Inventory search → HTTP API: requests
frontend/app.js - Product management → HTTP API: requests
frontend/app.js - Order entry → HTTP API: submits
frontend/app.js - Order history → HTTP API: requests
frontend/app.js - HTTP API → Request validation: validates
backend/server.py - HTTP API → Product operations: dispatches
backend/server.py - HTTP API → Order transactions: dispatches
backend/server.py - HTTP API → Dashboard summaries: dispatches
backend/server.py - Product operations → SQLite database: reads and writes
backend/server.py - Order transactions → SQLite database: transacts
README.md - Dashboard summaries → SQLite database: reads
backend/server.py