A full-stack Inventory Management System built with the MERN stack (MongoDB, Express.js, React.js, Node.js). This application allows users to manage products, track stock levels, handle sales and orders, update in real-time using WebSockets, and maintain user profiles.
- π Real-Time Data Sync via WebSockets (Socket.IO)
- π¦ Product Management: Add, edit, delete, and view products with categories and stock tracking
- π§Ύ Order Management: Create and manage customer orders
- π° Sales Tracking: View daily/weekly/monthly sales and revenue
- π Stock Monitoring: Low-stock alerts, live inventory levels
- π€ User Profile Pages: Update profile info, view activity and role
- π Authentication & Authorization: Secure login, JWT-based auth, admin vs staff roles
- π Dashboard Analytics: Key performance indicators (KPIs), charts, and summaries
| Tech | Description |
|---|---|
| MongoDB | NoSQL database |
| Express.js | Backend framework for Node.js |
| React.js | Frontend UI library |
| Node.js | Backend runtime |
| Socket.IO | Real-time communication |
| Mongoose | ODM for MongoDB |
| Redux Toolkit | State management on frontend |
| Tailwind CSS | Modern, utility-first CSS |
| JWT | Authentication & session management |
git clone https://github.com/yourusername/inventory-management-mern.git
cd inventory-management-mern# Backend
cd server
npm install
PORT=5000
MONGO_URI=mongodb://localhost:27017/inventory
JWT_SECRET=your_jwt_secret
cd ../client
npm install
# Backend
cd server
npm run dev