SmartInventory is a full-featured inventory management system designed to help businesses track, manage, and optimize their stock with ease. It enables users to add and update items, set low-stock and expiry alerts, and generate analytics-based reports. The app also includes role-based access control and QR code integration for efficient tracking. This solution aims to minimize inventory wastage and maximize operational efficiency for both small and medium-scale businesses.
Frontend
Frontend: https://smart-inventory-2025.netlify.app/
smartinventory-app/
├─ backend/ # Firebase Firestore + Auth config
├─ frontend/ # React + Vite + Chakra UI + Redux Toolkit
│ ├─ src/
│ │ ├─ components/
│ │ ├─ pages/
│ │ ├─ context/
│ │ ├─ hooks/
│ │ ├─ routes/
│ │ └─ theme/
- Inventory CRUD: Add, edit, delete, and search items with categories, expiry, and quantity.
- Role-Based Access: Assign Admin, Manager, Viewer roles with permission control.
- QR Code Generation: Generate and download QR codes for each item.
- Stock & Expiry Alerts: Automatic alerts for low-stock and near-expiry items.
- Responsive UI: Works seamlessly on desktop, tablet, and mobile.
- Dark Mode: Toggle between light and dark themes.
- Dashboard Reports: Visual insights with charts.
- Used Firebase for easy real-time sync and secure role-based access.
- Used Chakra UI for faster development and accessibility.
- Redux Toolkit simplifies state management across components.
- Decided to implement QR code generation (not scanning) due to time constraints.
# Clone the project
git clone https://github.com/yourusername/smartinventory-app.git
cd smartinventory
# Install frontend dependencies
npm install
# Start frontend dev server
npm run dev# Start dev server
npm run dev
# Add a new item from dashboard
# Set quantity and expiry date to test alert features
# Navigate to different roles to test permissions- Firebase Authentication
- Firebase Firestore (Realtime Database)
- QR Code Library:
react-qr-code
- Frontend: React, Vite, Chakra UI, Redux Toolkit
- Backend: Firebase Authentication, Firestore Database
- Other Libraries: react-icons, react-qr-code, recharts




