An inventory management solution for a proposed company One Smart Inc., crafted with the MERN stack and Electron to deliver a seamless, robust, and user-friendly experience.
Check out the live version of the application here: https://careeco-inventory-management-system-x0ri.onrender.com/
SmartInc is engineered for reliability. Work offline without a hitch, and watch as your data automatically syncs to the central server the moment you're back online. Your business never stops, and neither does your inventory system.
- 📦 Product Management: Effortlessly add, edit, and track your entire inventory.
- 🛒 Purchase Tracking: Keep a close eye on incoming stock and manage purchases with ease.
- 🧾 Billing & Invoicing: Generate and manage customer invoices seamlessly.
- ↩️ Returns Management: Handle product returns with an efficient and clear process.
- 🗓️ Expiry Date Notifications: Stay ahead with timely alerts for expiring products.
| Category | Technology |
|---|---|
| Frontend | React, Electron, Material-UI, Vite |
| Backend | Node.js, Express |
| Database | MongoDB, Mongoose |
Prerequisites:
- Node.js
- MongoDB
Installation:
-
Backend:
cd server npm install -
Web Frontend:
cd one-smart-inc-frontend npm install -
Electron Frontend:
cd one-smart-inc-frontend-electron npm install
Running the Application:
-
Start the backend server:
cd server npm run dev -
Start the Web application:
cd one-smart-inc-frontend npm run dev -
Start the Electron application:
cd one-smart-inc-frontend-electron npm run dev
.
├── one-smart-inc-frontend-electron/ # Electron frontend application
│ ├── src/
│ │ ├── main/ # Electron main process
│ │ ├── preload/ # Electron preload script
│ │ └── renderer/ # React frontend
│ │ ├── src/
│ │ │ ├── components/ # React components
│ │ │ ├── services/ # API and local DB services
│ │ │ └── theme/ # Material-UI theme
├── server/ # Node.js backend
│ ├── controllers/ # Route handlers
│ ├── models/ # Mongoose models
│ └── ...
└── ...
POST /api/products- Add a new productGET /api/products- Get all productsPOST /api/purchases- Add a new purchaseGET /api/purchases- Get all purchasesGET /api/bills- Get all bills
For more detailed information, please refer to the documentation for each part of the project:
This project was brought to life by:
- Mustafa Ajnawala - GitHub Profile
- Neel Khatri - GitHub Profile
⭐ Star this repository if you find it helpful! ⭐


