
Insurance Management System Project Source Code | Spring Boot + React JS + Microservices + MySQL
This full stack Insurance Management System Project Source Code is built using Spring Boot Microservices (Java) for the backend and React JS for the frontend with MySQL as the database. It includes core functionalities of an insurance portal—handling policy plans, customer onboarding, and purchase workflows.
This project is ideal for final year, capstone, and internship students, or anyone who wants to build a practical, portfolio-worthy application with real-world insurance management features.
✅ Key Functionalities (All in One Project):
✨ User Authentication (Spring Security):
- Admin, Customer, Surveyor login system
- Registration for new customers
- Login restricted with proper validations
🏦 Admin Module:
- View all registered customers
- Add new Insurance Plans (with name, amount, benefits)
- Update or Delete existing plans
- View all insurance purchase records
👤 Customer Module:
- Register and log in securely
- View available Insurance Plans
- Apply for any insurance plan
- View history of purchased insurances
📄 Insurance Plan Management:
- Admin can create and manage plans
- Customers can explore all plan details before purchasing
📝 Purchase Insurance Workflow:
- Customers can select a plan and apply instantly
- Admin can view all user-purchased insurances
📝 Insurance Claim Management:
- Customers can claim for the Insurance Policy he has.
- Admin can assign Surveyor to survey about the incident.
- Surveyor can approve or reject the customer claim based on the survey.
🛠️ Technologies Used:
- Java Spring Boot Microservices (Backend with Spring Security)
- React JS (Frontend UI)
- MySQL (Relational Database)
- Bootstrap (Responsive Design)
- Maven (Build & Dependency Tool)
🧱 Project Architecture – Microservices with Spring Boot
This Insurance Management System is designed using Spring Boot Microservices Architecture to ensure modular, scalable, and maintainable enterprise-level software. The backend is split into independent services using Feign Clients, Service Discovery (Eureka), and a central API Gateway for routing and request handling.
🔧 Backend – Microservices Breakdown
The backend includes 5 independent microservices, each responsible for a specific business function:
✅ 1) API Gateway Service
Acts as the single entry point for all frontend requests, routing them to the appropriate microservice. Also handles cross-cutting concerns like logging, monitoring, and security.
✅ 2) Service Registry (Eureka Server)
Handles dynamic service discovery and registration. All microservices register themselves to this registry, enabling them to communicate without hardcoded URLs.
✅ 3) User Service
Manages all user-related operations including:
- Customer and Admin Registration
- Login and Authentication
- Role-based access control
✅ 4) Policy Service
Handles all insurance policy operations:
- Create, update, delete policies (Admin)
- View all policies (Customer)
- Apply for insurance (Customer)
✅ 5) Claim Service
Manages insurance claim workflows:
- Customer can claim policies
- Admin can view and manage claims
- Tracks claim history and status
💻 Frontend
The frontend is developed using React JS, providing a responsive, clean, and interactive user experience for Admin, Customer & Surveyor dashboards.
🗃️ Database
- All microservices are connected to MySQL databases
- Easily customizable to work with PostgreSQL, Oracle, or MongoDB depending on use-case
🔁 Project Flow – Microservice Request Handling
- All microservices first register themselves with the Service Registry (Eureka).
- User interaction begins from the React frontend, which sends HTTP requests.
- Requests are first handled by the API Gateway, which routes them to the appropriate service:
- User Service for login/registration
- Policy Service for insurance plans
- Claim Service for claim applications
- Services communicate with each other using Feign Clients and shared REST APIs.
- All business logic is processed and final responses are returned back to the frontend.
🚀 Why Choose This Project?
✅ Real-world insurance portal application
✅ Proper backend authentication using Spring Security
✅ Project-based learning for REST APIs + React UI
✅ Great choice for capstone/final year/internship showcase
✅ Easily customizable for future enhancements
🎓 What You Will Learn:
✔️ Secure login system using Spring Security
✔️ REST API development with Java Spring Boot
✔️ CRUD operations for Insurance Plans
✔️ Component-based React development
✔️ Connecting frontend and backend using Axios
✔️ Role-based UI navigation and access
📦 You Will Receive:
✅ Complete Source Code (Backend + Frontend)
✅ Project Setup Guide
✅ Lifetime access & free one time setup support
🚀 Contact for Support:
📧 Email ID: codewithmurad@gmail.com
📧 Whatsapp: +91 73043 53428
📸 Instagram: @codewithmurad
📘 Facebook: Code With Murad
✈️ Telegram: Join Here
🚀 Project Screenshots:
✅ HOME PAGE