Web app · full-stack

Store System

Runs a retail store across several branches: selling, stock, quotes, deliveries, suppliers and cash in one place, and each staff member sees only the branches and actions the owner allows.

Role
Solo full-stack developer, AI-assisted
Built for
A store owner I know
Platform
Web, made for phone and desktop screens
Stack
Next.js · Supabase · Postgres functions
1234
  1. 1
    Point of saleSelling at the counter
  2. 2
    Stock by branchEvery shelf counted
  3. 3
    DeliveriesTrucks, returns and suppliers
  4. 4
    DashboardSales and staff on a phone
01

Why I built it

Someone I know runs a store with several branches. They needed one system for the whole store, so I built it for them to use every day.

02

What it does

  • Point of saleSell from a cart with split payments, custom line prices, contractor prices and backdated sales. Every change to stock or money is one database transaction, so two staff can't both sell the last unit.
  • Stock across branchesRestock with average cost, move items between branches, and count stock from an uploaded sheet. Items can be imported from a CSV file. There is no offline mode on purpose, so every screen shows the real numbers.
  • Quotes, deliveries and returnsMake a quotation PDF that converts to a sale when the customer agrees. Handle warranty, returns and exchanges, and add delivery fees.
  • Suppliers and payablesPlace supplier orders and print an order slip as a PDF. Statements show what is still owed to each supplier.
  • Defective items, promos and cashTrack defective items and write them off. Promos come with a profit check, and cash counts are recorded at the register.
  • Dashboard, staff and permissionsA dashboard with Excel export shows how the store is doing. Staff get their own accounts, limited by branch and by action.
03

Stack

  • TypeScript
  • React
  • Next.js
  • Tailwind CSS
  • Supabase
  • PostgreSQL
  • SQL
  • TanStack Query
  • Vitest