sxsphinxstack

Projects / An inventory system for a family business

An inventory system for a family business

Level 2: two to three weeks, real architecture. Use with: build-web-app, backend-basics, database-basics. Resume line when done: Built {project_name}, an inventory system with its own API and database, used daily by a real business — live at {url}

Brief

A stock-tracking system for a business run by your family or someone you know well: a shop, a stall, a food truck, a workshop. Items have quantities; every change is a logged movement (received, sold, used, damaged) so the current count is always explainable. Low-stock items surface at the top. You build a small backend API of your own (free tier on Render or Railway) over hosted Postgres (Neon or Supabase free tier); the frontend deploys free on Netlify or Vercel. The system counts stock only; sales money stays wherever it is handled today.

Personalize

Milestones

  1. README first: item, movement, and the rule that current stock is the sum of movements, never a number someone types over.
  2. Backend API with items and movements endpoints, deployed, backed by the real database, loaded with the owner's actual top twenty items.
  3. Frontend deployed by end of week one: live URL showing current stock levels, readable on the owner's phone.
  4. Recording movements: received and sold first, with quantity and a note. Each movement adjusts the computed stock.
  5. Movement history per item: tap an item, see every change and why the count is what it is.
  6. Low-stock thresholds per item and a reorder view sorted by urgency.
  7. Unhappy paths: negative stock attempts, a fat-fingered quantity (undo via a correcting movement), the API being briefly down.
  8. A real week in the shop. Watch someone else use it, then fix the slowest part of entry.
  9. Final README: schema, API routes, and what the owner says it replaced, in your words.

Done means