Skip to content

Latest commit

Β 

History

History
133 lines (96 loc) Β· 3.39 KB

File metadata and controls

133 lines (96 loc) Β· 3.39 KB

πŸ›’ Grocery Store Management System

πŸ“Œ Overview

The Grocery Store Management System is a full-stack web application designed to streamline the daily operations of a grocery store. It enables store owners and employees to manage inventory, sales, user roles, and reporting efficiently β€” all from a centralized dashboard.

Built with Node.js, Express.js, and MySQL, the system provides a reliable and responsive interface, ensuring a smooth user experience on desktops, tablets, and smartphones.


πŸš€ Features

  • πŸ” User Management

    • Role-based access (Admin, Cashier)
    • CRUD operations on user accounts
  • πŸ“¦ Inventory Management

    • Add, update, delete products
    • Real-time stock tracking
  • πŸ’° Sales Processing

    • Handle purchases and transactions
    • Auto-generate receipts
    • Manage multiple payment methods
  • πŸ“Š Reporting Dashboard

    • View sales statistics
    • Monitor low-stock items
    • Track user activities
  • πŸ“± Responsive UI

    • Mobile-friendly design
    • Clean and intuitive interface

🧰 Tech Stack

Category Technology
Frontend HTML, CSS, JavaScript
Backend Node.js, Express.js
Database MySQL
DB Management PHPMyAdmin
Package Manager npm
Version Control Git & GitHub

βš™οΈ Installation Guide

Follow these steps to set up the project locally:

  1. Clone the repository

    git clone https://github.com/GeetanshMohindru/Grocery-Store-Management-System.git
    cd Grocery-Store-Management-System
  2. Install dependencies

    npm install
  3. Set up the MySQL database

    • Open PHPMyAdmin.
    • Create a new database (e.g., grocery_db).
    • Import the SQL file located in the dbms project directory.
  4. Configure environment variables

    • Create a .env file in the root directory:
      DB_HOST=localhost
      DB_USER=your_mysql_username
      DB_PASSWORD=your_mysql_password
      DB_NAME=grocery_db
      
  5. Start the application

    npm start
  6. Access the web app

    • Open your browser and navigate to:
      http://localhost:3000

πŸ§ͺ Usage

  • πŸ”‘ Login: Use the provided credentials or create a new user.
  • πŸ“ Inventory: Add, update, and delete grocery products.
  • 🧾 Sales: Record transactions and view receipts.
  • πŸ“‰ Reports: Monitor key business metrics.

πŸ“‚ Folder Structure

Grocery-Store-Management-System/
β”‚
β”œβ”€β”€ public/                # Frontend assets (CSS, JS)
β”œβ”€β”€ routes/                # Route handlers
β”œβ”€β”€ views/                 # HTML views (EJS or similar templating)
β”œβ”€β”€ dbms project/          # SQL dump and sample data
β”œβ”€β”€ .env                   # Environment config
β”œβ”€β”€ app.js                 # Main server file
└── README.md              # Project documentation

πŸ‘¨β€πŸ’» Author

Geetansh Mohindru
πŸ“« Email
🌐 LinkedIn


πŸ’‘ Future Enhancements

  • πŸ“¦ Barcode scanner integration
  • πŸ›οΈ Customer loyalty points system
  • πŸ“± PWA support for offline access
  • πŸ”” Low-stock alert notifications

If you like this project, feel free to ⭐ the repository!