A modern, feature-rich Hotel Management System (HMS) built with React.js + Spring Boot 3.2 + Java 21.
Designed as a real-world full-stack application to manage hotel operations including rooms, guests, reservations, payments, invoices, housekeeping, staff and analytics through a modern responsive dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Secure JWT-based authentication
• Role-based access for:
→ Admin — Complete system administration and management
→ Manager — Hotel operations, analytics, rooms and housekeeping
→ Receptionist — Guest registration, bookings, check-in/out and payments
• Protected REST APIs with Spring Security
• BCrypt password encryption
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Real-time hotel performance overview
• Total rooms and room availability
• Today's check-ins & check-outs
• Registered guest statistics
• Revenue tracking
• 6-month revenue analytics
• Room occupancy visualization
• Interactive charts using Recharts
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Visual room management interface
• Floor-wise room organization
• Multiple room categories with pricing
• Live room status tracking:
→ AVAILABLE
→ OCCUPIED
→ RESERVED
→ CLEANING
→ MAINTENANCE
• Create, update and manage rooms
• Room type and pricing management
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Create and manage hotel reservations
• Guest and room assignment
• Check-in / Check-out workflow
• Date-based booking management
• Room availability validation
• Booking status tracking
• Complete guest stay information
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Register new guests
• Complete guest profiles
• Email & phone information
• ID proof management
• Guest location details
• Guest stay history
• Search and manage guest records
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Payment record management
• Payment status tracking
• Automatic room charge calculation
• Tax calculation
• Detailed billing information
• Professional printable invoices
• Guest reservation and payment details in invoice
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Dedicated housekeeping dashboard
• Room turnover tracking
• Cleaning task management
• Staff assignment
• Task workflow:
→ PENDING
→ IN PROGRESS
→ COMPLETED
• Room cleaning and maintenance status tracking
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Hotel staff directory
• Employee information management
• Department-based organization
• Staff role management
• Support for departments such as:
→ Reception
→ Housekeeping
→ Management
→ Security
→ Maintenance
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Monthly revenue reports
• Occupancy rate trends
• Hotel performance analytics
• Revenue visualization
• Operational insights through interactive charts
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Premium dark-themed dashboard
• Modern glassmorphism-inspired design
• Responsive layouts
• Clean navigation
• Interactive cards and data tables
• Modern icons using Lucide React
• Smooth and professional admin experience
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Frontend
• React.js
• Vite
• React Router
• Axios
• JWT Authentication
• Recharts
• Lucide React
• Responsive CSS / Modern UI Design
Backend
• Java 21
• Spring Boot 3.2
• Spring Security
• JWT
• BCrypt
• Spring Data JPA
• Hibernate
• REST APIs
• H2 Database
• Maven
• Docker
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Secure RESTful API architecture
• JWT-protected endpoints
• Role-based authorization
• API integration between React frontend and Spring Boot backend
• Modules for:
→ Authentication
→ Rooms
→ Room Types
→ Guests
→ Bookings
→ Payments
→ Invoices
→ Housekeeping
→ Staff
→ Reports
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Dockerized Spring Boot backend
• Cloud deployment ready
• Configurable server port
• CORS configured for frontend-backend communication
• H2 database configuration included
• Demo data automatically seeded
• Easy local setup and execution
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Complete React.js Frontend Source Code
✅ Complete Spring Boot Backend Source Code
✅ H2 Database Configuration
✅ REST API Implementation
✅ JWT Authentication & Authorization
✅ Role-Based Access Control
✅ Complete Project Structure
✅ Docker Configuration
✅ Demo/Seed Data
✅ Setup & Run Instructions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Java Full-Stack Developers
• React + Spring Boot Learners
• College & Final-Year Projects
• Portfolio Projects
• Interview Preparation
• Full-Stack Development Practice
• Learning REST API Integration
• Understanding Real-World Project Architecture
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Instead of starting a full-stack application from zero, get a complete working project structure and explore how a modern frontend communicates with a Spring Boot backend.
Study the architecture, understand the APIs, customize the UI, add your own features and use it as a foundation for your own hotel management application.
Get the complete source code at an affordable price and start learning by working with a real-world full-stack application.
⚠️ Note: This source code is provided for educational, learning, development and project purposes. Customize and use it according to your own requirements.