{"id":23759894,"url":"https://github.com/useraar/booking-management-application","last_synced_at":"2026-05-08T14:03:27.004Z","repository":{"id":269214416,"uuid":"872842699","full_name":"UserAAR/Booking-Management-Application","owner":"UserAAR","description":"Booking Management Application is a full-stack Java backend project designed to manage flight bookings. The application allows users to book flights, manage passengers, and handle flight information through a robust system of entities and services, including Flights, Bookings, and Passengers.","archived":false,"fork":false,"pushed_at":"2024-12-21T19:40:42.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T20:31:38.020Z","etag":null,"topics":["docker","java-17-gradle","jpa-hibernate","liquibase","lombok-gradle","postgresql-database","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","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/UserAAR.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":"2024-10-15T07:05:23.000Z","updated_at":"2024-12-21T19:42:23.000Z","dependencies_parsed_at":"2024-12-21T20:37:24.656Z","dependency_job_id":null,"html_url":"https://github.com/UserAAR/Booking-Management-Application","commit_stats":null,"previous_names":["useraar/booking-management-application"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UserAAR%2FBooking-Management-Application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UserAAR%2FBooking-Management-Application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UserAAR%2FBooking-Management-Application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UserAAR%2FBooking-Management-Application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UserAAR","download_url":"https://codeload.github.com/UserAAR/Booking-Management-Application/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239933071,"owners_count":19720728,"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":["docker","java-17-gradle","jpa-hibernate","liquibase","lombok-gradle","postgresql-database","spring-boot"],"created_at":"2024-12-31T20:28:40.056Z","updated_at":"2026-05-08T14:03:21.949Z","avatar_url":"https://github.com/UserAAR.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Booking Management Application\n\nBooking Management Application is a full-stack Java backend project designed to manage flight bookings. The application allows users to book flights, manage passengers, and handle flight information through a robust system of entities and services, including Flights, Bookings, and Passengers.\n\n## Features\n- Manage flight information (origin, destination, departure time, etc.)\n- Create, update, and delete bookings.\n- Assign passengers to bookings.\n- Handle flight capacity and available seats.\n\n## Technologies Used\n- **Java 17**\n- **Spring Boot**\n- **JPA (Java Persistence API) / Hibernate** for ORM\n- **PostgreSQL** for the database\n- **Docker** for containerization\n- **Liquibase** for database migrations\n- **Lombok** for reducing boilerplate code (Getters, Setters, Builders)\n- **Gradle** for build automation\n\n## Requirements\nTo run this project locally, you will need:\n- **Java 17** or later\n- **Docker** installed for containerizing the application and the database\n- **PostgreSQL** set up (you can use Docker for this)\n- **Gradle** installed (to build the project)\n- **Git** to clone the repository\n\n## Setup Instructions\n\n1. **Clone the repository**\n    ```bash\n    git clone https://github.com/your-username/Booking-Management-Application.git\n    cd Booking-Management-Application\n    ```\n\n2. **Run the PostgreSQL container with Docker**\n    Ensure you have Docker installed, and run the PostgreSQL container:\n    ```bash\n    docker-compose up -d\n    ```\n\n3. **Build and run the project**\n    Use Gradle to build the project and run it locally:\n    ```bash\n    ./gradlew build\n    ./gradlew bootRun\n    ```\n\n4. **Access the Application**\n    The application should now be running on `http://localhost:8080`.\n\n## API Documentation\n| Endpoint | HTTP Method | Description |\n| -------- | ----------- | ----------- |\n| `/api/bookings` | `GET` | Get all bookings |\n| `/api/bookings/{id}` | `GET` | Get booking by ID |\n| `/api/bookings` | `POST` | Create a new booking |\n| `/api/bookings/{id}` | `PUT` | Update an existing booking |\n| `/api/bookings/{id}` | `DELETE` | Delete a booking |\n\n### Example JSON for Creating a Booking\n```json\n{\n  \"flightId\": 1,\n  \"bookingDateTime\": \"2023-10-12T15:30:00\",\n  \"passengerIds\": [1, 2, 3]\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuseraar%2Fbooking-management-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuseraar%2Fbooking-management-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuseraar%2Fbooking-management-application/lists"}