π§Ύ 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:
π€ 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.