Loading repository data…
Loading repository data…
SubhamSathua / repository
A full-stack hotel management application built with Spring Boot backend and Angular frontend, providing comprehensive hotel operations management including room bookings, customer management, and administrative functions.
A full-stack hotel management application built with Spring Boot backend and Angular frontend, providing comprehensive hotel operations management including room bookings, customer management, and administrative functions.
This project is a complete Hotel Management System designed to streamline hotel operations. It features a RESTful API backend with session-based authentication and a responsive Angular frontend for managing rooms, bookings, customers, and staff.
ProductDevelopment/
├── Backend/ # Spring Boot backend
│ ├── src/
│ │ ├── main/
│ │ │ ├── java/
│ │ │ │ └── org.hotelms/
│ │ │ │ ├── controller/ # REST API endpoints
│ │ │ │ ├── entity/ # JPA entities
│ │ │ │ ├── repository/ # Data access layer
│ │ │ │ └── service/ # Business logic
│ │ │ └── resources/
│ │ │ └── application.properties
│ │ └── test/
│ ├── IMPLEMENTATION_STATUS.md
│ └── SESSION_GUIDE.md
│
└── Frontend/ # Angular frontend
├── src/
│ ├── app/
│ │ ├── admin-dashboard/
│ │ ├── login/
│ │ ├── register/
│ │ ├── roomManagement/
│ │ ├── addRoom/
│ │ ├── about/
│ │ └── shared/
│ └── assets/
└── angular.json
npm install -g @angular/cli)cd Backend
application.properties:spring.datasource.url=jdbc:mysql://localhost:3306/hotel_db
spring.datasource.username=your_username
spring.datasource.password=your_password
./mvnw spring-boot:run
The backend API will be available at http://localhost:8080
cd Frontend
npm install
ng serve
The application will be available at http://localhost:4200
The system uses session-based authentication with the following features:
admin@a.com123For detailed authentication implementation, see Backend/SESSION_GUIDE.md
POST /api/register - Register new userPOST /api/login - User loginGET /api/logout - User logoutGET /api/allUsers - Get all users (Admin only)This project is open source and available for educational purposes.
Subham Sathua