๐ช A comprehensive supermarket management system built with React.js, designed specifically for Indian retail standards with authentication system and complete POS functionality.
- Login/Signup System with strong password validation
- User Account Management with secure password requirements
- Role-based Access (Admin, Staff Member)
- Demo Credentials for testing
- Dashboard - Real-time business metrics and analytics
- Point of Sale (POS) - Complete billing and payment processing
- Inventory Management - Product catalog with CRUD operations
- Sales Reporting - Transaction history and revenue analytics
- Customer Management - Customer database and purchase tracking
- Settings - System configuration
- โน Rupee Currency - All pricing in Indian Rupees
- Indian Product Names - Authentic Indian brands (Amul, Tata, Britannia)
- Local Context - Indian names, phone numbers, and suppliers
- Indian Date Format - DD-MM-YYYY format
- Responsive Design - Works on desktop, tablet, and mobile
- Real-time Updates - Inventory updates after each sale
- Search & Filter - Advanced product and customer search
- Data Validation - Comprehensive form validation
- Modern UI - Clean, professional interface with Tailwind CSS
- Frontend: React 18.x
- Styling: Tailwind CSS
- Icons: Lucide React
- Build Tool: Webpack 5
- Language: JavaScript (ES6+)
- Package Manager: npm
Before running this project, make sure you have:
- Node.js (version 14.x or higher)
- npm (version 6.x or higher)
- Git (for cloning the repository)
git clone https://github.com/your-username/supermarket-management-system.git
cd supermarket-management-systemnpm installnpm startThe application will open at http://localhost:3000
npm run buildsupermarket-management-system/
โโโ public/
โ โโโ index.html
โโโ src/
โ โโโ App.js
โ โโโ index.js
โโโ package.json
โโโ webpack.config.js
โโโ tailwind.config.js
โโโ README.md
โโโ .gitignore
- Username:
admin - Password:
Admin@123
When signing up, password must contain:
- Minimum 8 characters
- At least one uppercase letter
- At least one lowercase letter
- At least one number
- At least one special character
- Start with the login screen
- Use demo credentials or create a new account
- All new accounts are created with "Staff Member" role
- View real-time business metrics
- Monitor low stock items
- Check recent transactions
- Track daily performance
- Search products by name or barcode
- Add items to cart
- Enter customer name (optional)
- Process payments
- Automatic inventory updates
- Add new products
- Edit existing products
- Delete products (with confirmation)
- Monitor stock levels
- Color-coded stock alerts
- View all transactions
- Export functionality (UI ready)
- Revenue analytics
- Performance metrics
- View customer database
- Track purchase history
- Customer search functionality
- Contact information management
- Coca Cola 330ml - โน40
- Amul Taza Milk 1L - โน56
- Tata Tea Premium 1kg - โน450
- Britannia Good Day Cookies - โน30
- Fresh Tomatoes 1kg - โน25
- Shubham Tiwary
- Priya Sharma
- Amit Singh
The application is fully responsive and works on:
- Desktop (1024px and above)
- Tablet (768px - 1023px)
- Mobile (320px - 767px)
# Start development server
npm start
# Build for production
npm run build
# Run tests (if configured)
npm test
# Development server with webpack
npm run dev
# Production build with webpack
npm run build-prodModify tailwind.config.js to change the color scheme:
colors: {
primary: '#3B82F6', // Blue
secondary: '#6B7280', // Gray
success: '#22C55E', // Green
warning: '#F59E0B', // Orange
danger: '#EF4444' // Red
}- Update company name in
src/App.js - Modify the logo in the navigation
- Change the page title in
public/index.html
This project demonstrates:
- React Hooks (useState, useEffect)
- Component Architecture
- State Management
- Form Handling & Validation
- Responsive Design
- Modern JavaScript (ES6+)
- CSS-in-JS with Tailwind
- User Authentication Logic
- CRUD Operations
-
npm install fails
npm cache clean --force npm install
-
Port 3000 already in use
npm start -- --port 3001
-
Build fails
rm -rf node_modules package-lock.json npm install npm run build
- Fork the repository
- Create a feature branch (
git checkout -b feature/new-feature) - Commit changes (
git commit -am 'Add new feature') - Push to branch (
git push origin feature/new-feature) - Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Your Name
- College: [Your College Name]
- Course: [Your Course]
- Email: [your.email@gmail.com]
- GitHub: @your-username
- Lucide React for beautiful icons
- Tailwind CSS for utility-first CSS framework
- React Team for the amazing framework
- College Faculty for project guidance
For any questions or issues:
- Check the troubleshooting section
- Open an issue on GitHub
- Contact the author via email
Made with โค๏ธ for college project | SuperMarket Pro - Indian Retail Management System