Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pramod082002/flight_booking_system
Flight Booking System - A Java based web application built using spring boot and hibernate with MySQL database. Added Spring Security to secure the app and restrict URL'S based on roles. Implemented BCrypt Password encryption.
https://github.com/pramod082002/flight_booking_system
bootstrap css hibernate hibernate-orm html java maven mysql spring spring-data-jpa springboot springmvc springsecurity thymeleaf thymeleaf-layout
Last synced: 27 days ago
JSON representation
Flight Booking System - A Java based web application built using spring boot and hibernate with MySQL database. Added Spring Security to secure the app and restrict URL'S based on roles. Implemented BCrypt Password encryption.
- Host: GitHub
- URL: https://github.com/pramod082002/flight_booking_system
- Owner: Pramod082002
- Created: 2023-06-24T13:54:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-26T10:47:00.000Z (over 1 year ago)
- Last Synced: 2024-10-12T02:40:22.441Z (27 days ago)
- Topics: bootstrap, css, hibernate, hibernate-orm, html, java, maven, mysql, spring, spring-data-jpa, springboot, springmvc, springsecurity, thymeleaf, thymeleaf-layout
- Language: Dockerfile
- Homepage:
- Size: 40 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flight_Booking_System
A Java based web application built using Spring boot. Users can book a flight, search, view their bookings,modify, delete, update their profile. Admins can add a flight , view all bookings made by users , delete a flight. URL's are secured based on roles (admin or users) using Spring Security. Passwords are Encrypted using BCRYPT Encryption.## Tech Stack
* Java
* Spring Framework
* Spring Boot
* Spring Data JPA
* Spring Security
* Hibernate
* Thymeleaf
* Maven
* MySQL Database
* Lombok
* Html , css
* Bootstrap## Modules
* Login Module
* User Module
* Admin Module
* Reservation Module## Features
* User and Admin authentication & validation with Spring Security.
* Restricted URL's based on roles (user or admin).
* Passwords are encrypted and stored in MySQL database using BCrypt Encryption.
* Hibernate ORM is used to interact with database.
* Admin Features:
* Administrator Role of the entire application
* Only registered admins with valid session can add/view/update/delete Flights from main database
* Admin can view all the bookings made by users.
* User Features:
* A user can register on the platform.
* Users can search for flights based on date.
* Users can book flight if available.
* Users can modify a reservation or delete the reservation made by him.## Installation & Run
### Prerequisites:
* Java 17 or higher.
* IDE.
* Lombok installed in IDE.
* MySQL database.### How to Run:
* Before running the Application, you should update the database config inside the [application.properties](https://github.com/Pramod082002/Flight_Booking_System/blob/main/src/main/resources/application.properties) file.
* Update the port number, username and password as per your local database config.
* Create a Database using MySQL workbench.```
server.port=8080spring.datasource.url=jdbc:mysql://localhost:3306/{Your_database_name};
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username={Your_username}
spring.datasource.password={Your_Password}```
* Open the main class and run as Java application from your IDE.