Skip to content

Modern React POS System Template — A frontend-only Point of Sale system built with React, Tailwind CSS, and daisyUI. Includes POS checkout, inventory management, sales tracking, reporting, and multi-user support. Perfect starter template for retail and inventory systems.

Notifications You must be signed in to change notification settings

Ahmadkhan12345566/ReactronPOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReactronPOS

Modern point-of-sale system for retail management with inventory, sales, purchasing, and reporting.

Features

  • POS checkout workflow with cart, payment, and receipt support
  • Product, category, brand, unit, supplier, and customer management
  • Inventory tracking with variants and store-level quantities
  • Sales, purchases, invoices, and return workflows
  • Reporting with PDF/Excel exports
  • Role-based access for admin and biller users

Tech Stack

  • Frontend: React, Vite, Tailwind CSS, Headless UI, Heroicons
  • Backend: Node.js, Express, MongoDB (Mongoose)
  • Utilities: jsPDF, SheetJS

Getting Started

  1. Install dependencies:
npm install
  1. Configure environment variables (see below).

  2. Run the app:

npm run dev

This runs both the backend and frontend workspaces.

Optional: Seed data

npm run seed --workspace backend

Environment Variables

Create .env files as needed:

Backend (backend/.env)

MONGODB_URI=mongodb://localhost:27017/posb
JWT_SECRET=your-secret
CORS_ORIGIN=http://localhost:5173
PORT=3000
HOST=0.0.0.0

Frontend (frontend/.env)

VITE_API_URL=http://localhost:3000

Project Structure

backend/      # API, models, routes, database config
frontend/     # React app, components, pages, assets
seed.js       # root seed helper

Scripts

  • npm run dev - start backend + frontend
  • npm run build - build frontend
  • npm run dist - build frontend + package electron app
  • npm run start:electron - run electron dev shell

License

MIT

About

Modern React POS System Template — A frontend-only Point of Sale system built with React, Tailwind CSS, and daisyUI. Includes POS checkout, inventory management, sales tracking, reporting, and multi-user support. Perfect starter template for retail and inventory systems.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages