{"id":15211320,"url":"https://github.com/pramod082002/flight_booking_system","last_synced_at":"2026-01-28T01:02:43.007Z","repository":{"id":176375527,"uuid":"658014284","full_name":"Pramod082002/Flight_Booking_System","owner":"Pramod082002","description":"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.","archived":false,"fork":false,"pushed_at":"2023-07-26T10:47:00.000Z","size":41979,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T21:43:58.054Z","etag":null,"topics":["bootstrap","css","hibernate","hibernate-orm","html","java","maven","mysql","spring","spring-data-jpa","springboot","springmvc","springsecurity","thymeleaf","thymeleaf-layout"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pramod082002.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-24T13:54:53.000Z","updated_at":"2023-07-26T10:32:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"c11bd85b-78ff-455f-bf17-28baf5dd2a3b","html_url":"https://github.com/Pramod082002/Flight_Booking_System","commit_stats":{"total_commits":11,"total_committers":3,"mean_commits":"3.6666666666666665","dds":0.4545454545454546,"last_synced_commit":"f8503835fd3f4411b4f488774e544a517d76ba36"},"previous_names":["pramod082002/flight_booking_system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pramod082002%2FFlight_Booking_System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pramod082002%2FFlight_Booking_System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pramod082002%2FFlight_Booking_System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pramod082002%2FFlight_Booking_System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pramod082002","download_url":"https://codeload.github.com/Pramod082002/Flight_Booking_System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242988049,"owners_count":20217539,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","css","hibernate","hibernate-orm","html","java","maven","mysql","spring","spring-data-jpa","springboot","springmvc","springsecurity","thymeleaf","thymeleaf-layout"],"created_at":"2024-09-28T08:22:52.372Z","updated_at":"2026-01-28T01:02:42.995Z","avatar_url":"https://github.com/Pramod082002.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flight_Booking_System\nA 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.\n\n## Tech Stack\n\n* Java\n* Spring Framework\n* Spring Boot\n* Spring Data JPA\n* Spring Security\n* Hibernate\n* Thymeleaf\n* Maven\n* MySQL Database\n* Lombok\n* Html , css\n* Bootstrap\n\n## Modules\n\n* Login Module\n* User Module\n* Admin Module\n* Reservation Module\n\n## Features\n\n* User and Admin authentication \u0026 validation with Spring Security.\n* Restricted URL's based on roles (user or admin).\n* Passwords are encrypted and stored in MySQL database using BCrypt Encryption.\n* Hibernate ORM is used to interact with database.\n* Admin Features:\n    * Administrator Role of the entire application\n    * Only registered admins with valid session can add/view/update/delete Flights from main database\n    * Admin can view all the bookings made by users.\n* User Features:\n    * A user can register on the platform.\n    * Users can search for flights based on date.\n    * Users can book flight if available.\n    * Users can modify a reservation or delete the reservation made by him.    \n\n\n## Installation \u0026 Run\n### Prerequisites:\n* Java 17 or higher.\n* IDE.\n* Lombok installed in IDE.\n* MySQL database.\n\n### How to Run:\n\n* 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. \n* Update the port number, username and password as per your local database config.\n* Create a Database using MySQL workbench.\n\n```\n    server.port=8080\n\n    spring.datasource.url=jdbc:mysql://localhost:3306/{Your_database_name};\n    spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver\n    spring.datasource.username={Your_username}\n    spring.datasource.password={Your_Password}\n\n```\n* Open the main class and run as Java application from your IDE.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpramod082002%2Fflight_booking_system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpramod082002%2Fflight_booking_system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpramod082002%2Fflight_booking_system/lists"}