A backend service for inventory and stock management providing secure RESTful APIs for product tracking, inventory updates, and warehouse operations.
- Frontend: https://stocker-sigma.vercel.app
- 🔐 User authentication and role-based access control
- 📦 CRUD operations for inventory management
- 📊 Real-time stock monitoring
- ⚡ Scalable and performant architecture
- 🔄 RESTful API endpoints
- Node.js - Runtime environment
- Express.js - Web framework
- MongoDB - Database
- JWT - Authentication
- bcrypt - Password hashing
- Node.js (v14 or higher)
- MongoDB
- npm or yarn
-
Clone the repository git clone https://github.com/Mukuwul/STOCKER.git cd STOCKER
-
Install dependencies
npm install -
Start the server
npm start
POST /api/auth/register- Register userPOST /api/auth/login- Login user
GET /api/inventory- Get all itemsPOST /api/inventory- Add new itemPUT /api/inventory/:id- Update itemDELETE /api/inventory/:id- Delete item
| Variable | Description | Required |
|---|---|---|
PORT |
Server port | No (default: 5000) |
MONGODB_URI |
MongoDB connection string | Yes |
JWT_SECRET |
JWT secret key | Yes |
├── controllers/
├── models/
├── routes/
├── middleware/
├── config/
├── .env
├── .gitignore
├── package.json
└── server.js
This project is licensed under the MIT License
Mukul Negi - nmukul32@gmail.com