Ocean View Resort System is a complete hotel management application built with:
- Backend: Java Spring Boot
- Frontend: Java Swing
- Database: MySQL
It manages rooms, reservations, customers, and provides reports for resort operations.
- Room management
- Reservation management
- Customer management
- Reporting & analytics
- Database security & connection management
OceanViewResortSystem/
├─ back-end/ # Spring Boot backend
│ ├─ src/
│ ├─ .gitignore
│ └─ pom.xml
├─ front-end/ # Java Swing frontend
│ ├─ src/
│ └─ nbproject/
├─ database/ # MySQL dump file
│ └─ hotel.sql
├─ .gitignore
└─ README.md
Before running the project, ensure you have:
- Java JDK 17+
- Maven 3.8+
- MySQL 8+
- NetBeans / IntelliJ IDEA
- Git
Set up environment variables to connect the backend to the database:
| Variable | Description |
|---|---|
| DB_HOST | Database host (e.g., localhost) |
| DB_PORT | Database port (e.g., 3306) |
| DB_NAME | Database name (hotel) |
| DB_USER | Database username |
| DB_PASSWORD | Database password |
You can create a .env file or configure your IDE with these variables.
- Open MySQL Workbench
- Go to File → Open SQL Script and select
database/hotel.sql - Ensure these options are selected while importing:
- Include CREATE SCHEMA
- Create dump in single transaction
- Include triggers and events (if used)
- Click Execute to import
- Verify tables are created in the
hotelschema
- Open
back-end/OVRin IntelliJ IDEA - Make sure environment variables are set
- Build the project:
mvn clean installTo start the Spring Boot backend, run:
mvn spring-boot:runThe backend will be accessible at: http://localhost:8080
- Open
front-end/OceanViewResortin NetBeans - Ensure the backend is running
- Run the Swing application
- Test all functionalities:
- Rooms
- Reservations
- Customers
- Reports
- Start MySQL database
- Start Backend API
- Launch Frontend application
- Verify that rooms, reservations, and customers are visible and working
This project uses Git for version control. Recommended workflow:
# Clone the repository
git clone https://github.com/MSshizan/Ocean-View-Resort.git
cd Ocean-View-Resort
# Pull latest changes
git pull origin main
# Add new changes
git add .
git commit -m "Your descriptive commit message"
git push origin main- Do not commit sensitive data like database passwords
.gitignoreexcludes IDE-specific files,target/orbuild/folders, and OS files like.DS_Store
This project follows semantic versioning:
| Version | Description |
|---|---|
| v1.0.0 | Initial release of the system |
| v1.1.0 | Added server-down dialog & improved login handling |
| v1.2.0 | Addes Twilio SMS service with secrets removed |
| v1.4.0 | Release version V1.4.0: added new features and bug fixes |
| v1.5.0 | Release version 1.5.0: added new features and bug fixes |
This project is licensed under the MIT License.
MS Shizan
GitHub Profile