CodesPanda
Documentation

Flowers POS docs

Everything you need to install, customise and deploy Flowers POS: setup, scripts, folder layout, theming and hosting.

ReactViteTailwind CSSTypeScript

Screenshots

Flowers POS — POS counter
POS counter
Flowers POS — Orders
Orders
Flowers POS — Customers
Customers
Flowers POS — Coupons
Coupons
Flowers POS — Reports
Reports
Flowers POS — Settings
Settings

Click a screenshot to open it full size, or explore everything in the live preview.

Quick start

You need Node.js 20 or newer and npm. Clone the repository, install the dependencies and start the dev server:

Terminal
git clone https://github.com/codespanda/flowers-pos.git
cd flowers-pos
npm install
npm run dev

Then open http://localhost:5173. Changes reload instantly. You can also download the code as a ZIP from GitHub (Code → Download ZIP).

Scripts

npm run devStart the Vite dev server with hot reload
npm run buildType-check and build the production site into dist/
npm run previewServe the built dist/ folder locally to check it
npm run lintLint the code with Oxlint

Project structure

Built with Vite and TypeScript. The parts you'll work in most:

Folders
src/
  pages/               POS counter, orders, customers, coupons, reports,
                       notifications, settings, sign-in and sign-up
  components/          POS, layout and shadcn/ui components
  config/
    app.ts             Store name, currency, locale and tax rate
    categories.ts      Product categories
    nav.ts  routes.ts  Navigation and routes
    strings.ts         UI text in one place
  data/                products.ts, customers.ts, orders.ts, coupons.ts, notifications.ts
  context/  hooks/     Cart and app state
  index.css            Tailwind v4 theme and CSS variables
public/404.html        Deep-link fallback for GitHub Pages

Customise the content

src/config/app.tsStore name and tagline, currency, locale and tax rate.
src/config/strings.tsEvery piece of UI text in one place, ready to rename or translate.
src/data/Sample products, customers, orders and coupons.
src/config/categories.tsThe product categories shown at the counter.

Colors and theme

src/index.cssColors are CSS variables mapped into the Tailwind v4 @theme block.
Dark mode is built in: each color has a light and a dark value, so keep both in sync when you rebrand.

Pages and routing

React Router: routes and sidebar items are defined in src/config/routes.ts and src/config/nav.ts.

Deployment

npm run build writes a static site to dist/, so it runs on any static host. The repository is set up for GitHub Pages:

  1. 1In the repository, open Settings → Pages and set Source to GitHub Actions.
  2. 2Push to the default branch. The workflow in .github/workflows/ builds the site and publishes it.
  3. 3To use your own domain, add it under Settings → Pages → Custom domain.
Netlify, Vercel or Cloudflare PagesImport the repository and use build command npm run build with output folder dist.
public/404.html sends unknown URLs back to the app, so deep links such as /dashboard keep working on GitHub Pages. On Netlify or Vercel, add a rewrite of all routes to /index.html instead.

Component reference

Flowers POS ships with its own in-app documentation covering every component, layout and pattern, with live examples. Open it next to your code while you build.

Open the component docs

License

Flowers POS is free and released under the MIT license. Use it for personal and commercial projects, including client work, with no attribution required beyond keeping the license notice in the code.

Want it set up for you?

We can customise Flowers POS with your content and branding, connect it to your backend and deploy it.