https://github.com/yashtank86/inventory-management-system-springboot-mongodb
Inventory Management System built with Spring Boot & MongoDB. Easily track products, stock levels, and orders. Scalable, efficient, and perfect for inventory tracking. ⭐ #InventorySystem #SpringBoot #MongoDB
https://github.com/yashtank86/inventory-management-system-springboot-mongodb
authentication authorization backend backend-development business-management hibernate inventory inventory-management-system java java-web-app jpa jwt-authentification mongodb orm rest-api spring-security springboot springmvc themeleaf webapp
Last synced: about 2 months ago
JSON representation
Inventory Management System built with Spring Boot & MongoDB. Easily track products, stock levels, and orders. Scalable, efficient, and perfect for inventory tracking. ⭐ #InventorySystem #SpringBoot #MongoDB
- Host: GitHub
- URL: https://github.com/yashtank86/inventory-management-system-springboot-mongodb
- Owner: yashtank86
- Created: 2024-04-10T09:25:21.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-11-13T18:53:43.000Z (7 months ago)
- Last Synced: 2026-04-04T22:19:26.285Z (about 2 months ago)
- Topics: authentication, authorization, backend, backend-development, business-management, hibernate, inventory, inventory-management-system, java, java-web-app, jpa, jwt-authentification, mongodb, orm, rest-api, spring-security, springboot, springmvc, themeleaf, webapp
- Language: JavaScript
- Homepage:
- Size: 19.6 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🧩 Inventory Management System (Spring Boot + MongoDB + JWT)
A **comprehensive and secure Inventory Management System** built with **Java Spring Boot**, **MongoDB**, and **JWT Authentication**.
This project helps businesses efficiently **manage products, track stock levels, and monitor orders** through a **scalable and modular backend architecture**.
---
## 🚀 Tech Stack
| Layer | Technology |
| :-- | :-- |
| **Backend** | Spring Boot (Java) |
| **Database** | MongoDB |
| **Security** | JWT Authentication |
| **API Type** | RESTful APIs |
| **Architecture** | Domain-Driven Design (DDD), Hexagonal Architecture |
---
## 🧱 Architecture Overview
This system follows **Domain-Driven Design (DDD)** and **Hexagonal Architecture** principles to ensure:
- Clear separation between **domain logic** and **infrastructure layers**
- **High testability** and **flexibility** for future feature integration
- Enhanced **scalability** and **maintainability**
---
## 📸 Screenshots
| Register View|
|:------------:|
||
|LogIn View |
||
| Dashboard |
||
| Product List View |
||
| Add Products View |
||
|Edit Products View |
||
---
## ⚙️ Getting Started
Setup and Installation:
Clone the repository:
git clone https://github.com/yashtank86/inventory-management-system-springboot-mongodb.git
Install Dependencies:
This project uses Maven for dependency management. Run the following command to install the dependencies:
mvn clean install
Configure MongoDB:
Make sure you have MongoDB installed and running locally or use a MongoDB Atlas cloud instance.
Update the application.properties file to include your MongoDB connection details.
Configure JWT Secret:
Add your JWT secret key in the application.properties or application.yml file for secure token generation.
Example:
jwt.secret=your-secret-key
jwt.expiration=3600
Run the Application: To start the application, run the following command:
mvn spring-boot:run
The application will run on http://localhost:8086
Endpoints:
GET /user/productList: Get all products in the inventory.
POST /user/addProduct: Add a new product to the inventory.
PUT /user/editProduct/{productId}: Update an existing product's details.
[pending] DELETE /api/products/{id}: Delete a product from the inventory.
Contributing:
Feel free to open issues or submit pull requests if you'd like to contribute to the development of this inventory management software.
License:
This project is licensed under the MIT License - see the LICENSE file for details.
---
## ✅ Future Enhancements
- 📊 Add analytics and reporting dashboards
- 🧠 Integrate AI-based stock demand forecasting
- 🌐 Add a React or Angular frontend for user interface
- 📨 Implement email notifications for low-stock alerts
---
## 🤝 Contributing
- Contributions, issues, and feature requests are welcome!
- Feel free to fork the repo and submit a pull request.