Skip to content

Nissy-niveditha21/Retail-Management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧾 Retail Management System (Voice-Enabled)

A full-stack Retail Management System built with MERN stack, designed specifically for small retail businesses. The system includes a voice-only admin interface for effortless daily operations and a structured backend for customer, billing, and expense management.

πŸš€ Key Features πŸ‘©β€πŸ’Ό Admin (Shop Owner – Voice Only)

🎀 Voice-controlled payment updates

🧾 Automatic bill payment recording

πŸ”Š Spoken confirmations (no typing required)

πŸ‘΅ Senior-friendly UI (minimal buttons, no forms)

πŸ‘₯ Customers

Ledger-style bill tracking

Automatic due calculation

Secure backend-driven updates

πŸ“Š Business Analytics

Total revenue

Pending dues

Expenses by category

🧠 Why Voice-First?

This system is intentionally designed for non-technical users:

No keyboards

No typing

Fewer errors

Faster daily operations

Perfect for parents, shop owners, and small businesses.

πŸ—οΈ Tech Stack Frontend

React (Vite)

Axios

Web Speech API (SpeechRecognition + SpeechSynthesis)

Backend

Node.js

Express.js

MongoDB + Mongoose

Tools

MongoDB Compass

Nodemon

Vite Dev Server

πŸ“ Project Structure retail-management-system/ β”‚ β”œβ”€β”€ backend/ β”‚ β”œβ”€β”€ routes/ β”‚ β”œβ”€β”€ src/ β”‚ β”‚ β”œβ”€β”€ models/ β”‚ β”‚ β”œβ”€β”€ config/ β”‚ β”œβ”€β”€ server.js β”‚ β”œβ”€β”€ frontend/ β”‚ β”œβ”€β”€ src/ β”‚ β”‚ β”œβ”€β”€ components/ β”‚ β”‚ β”‚ └── AdminVoice.jsx β”‚ β”‚ β”œβ”€β”€ api/ β”‚ β”‚ β”‚ └── axios.js β”‚ β”‚ └── App.jsx β”‚ └── README.md

βš™οΈ Setup Instructions 1️⃣ Clone Repository git clone cd retail-management-system

2️⃣ Backend Setup cd backend npm install

Create .env file:

PORT=5000 MONGO_URI=mongodb://127.0.0.1:27017/retail_db

Run backend:

npm run dev

3️⃣ Frontend Setup cd ../frontend npm install npm run dev

Frontend runs on:

http://localhost:5173

🎀 How Voice Admin Works

Click Speak

Say:

β€œAnjali paid 500 today”

System asks for confirmation

Select customer β†’ Confirm

Database updates automatically

System responds with voice feedback

πŸ” Verifying Data in Database MongoDB Compass

Database: retail_db

Collection: bills

Check:

paidAmount

updatedAt

πŸ“Œ Current Status

βœ… Backend APIs stable

βœ… MongoDB integrated

βœ… React frontend functional

βœ… Voice-only admin interface live

🚧 Advanced NLP (future scope)

🌱 Future Enhancements

Hindi / Hinglish voice support

Undo last payment

Daily voice summary

Customer SMS notifications

Role-based dashboards

🧠 Learning Outcomes

REST API design

MERN full-stack architecture

Voice-driven UI design

Real-world business logic

Clean component separation

πŸ‘€ Author

Built with ❀️ for real-world retail use.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors