A robust full-stack inventory lifecycle tracker engineered with the PERN stack (PostgreSQL, Express, React, Node.js). This platform streamlines product procurement, supplier relations, and real-time stock movements. The system's core innovation is an AI-powered natural language interface leveraging the LLaMA 3 (Groq API) which allows users to perform complex data analysis via natural English inputs dynamically translated into optimized SQL using Natural Language Processing.
- Frontend: React, Axios, Bootstrap/CSS Modules
- Backend: Node.js, Express
- Database: PostgreSQL
- Auth: JWT
- Testing Postman
- AI Integration: GROQ LLaMA 3 API to auto-generate SQL queries
- AI-powered query interface
- Product, Category & Supplier management
- Stock movement tracking (IN / OUT)
- Analytics dashboard
- Secure login/signup with JWT
- Export reports as PDF
- Custom UI with pink theme
git clone https://github.com/manjotkxur/InventoryManagementSystem.gitCreate a .env file in backend/:
DATABASE_URL=postgresql://username:password@localhost:5432/db_name
JWT_SECRET=your_jwt_secret
NODE_ENV=development
DATABASE_URL=your_postgreSQL_URL
PORT=xxxx# Backend
cd backend
npm install
# Frontend
cd ../frontend
npm install# From the root of the repo (refer attachment - schema.sql)
psql -U postgres -d inventory < schema.sql# Terminal 1
cd backend
npm run dev
# Terminal 2
cd frontend
npm run dev