{"id":23759883,"url":"https://github.com/useraar/flight-booking_just-dao","last_synced_at":"2025-10-18T20:42:41.329Z","repository":{"id":251623002,"uuid":"837948077","full_name":"UserAAR/Flight-Booking_just-DAO","owner":"UserAAR","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-21T08:30:33.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-31T20:31:37.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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-08-04T14:16:38.000Z","updated_at":"2024-12-21T08:30:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e35e51d-b9dc-42ae-8849-2b83438ebd7d","html_url":"https://github.com/UserAAR/Flight-Booking_just-DAO","commit_stats":null,"previous_names":["useraar/flight-booking_just-dao"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UserAAR%2FFlight-Booking_just-DAO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UserAAR%2FFlight-Booking_just-DAO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UserAAR%2FFlight-Booking_just-DAO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UserAAR%2FFlight-Booking_just-DAO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UserAAR","download_url":"https://codeload.github.com/UserAAR/Flight-Booking_just-DAO/tar.gz/refs/heads/master","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":[],"created_at":"2024-12-31T20:28:38.314Z","updated_at":"2025-10-18T20:42:36.291Z","avatar_url":"https://github.com/UserAAR.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flight Booking Project\n\n## Overview\nThis project is a **Flight Booking System**, but currently, **only the DAO (Data Access Object)** layer has been implemented. The DAO interacts directly with a **PostgreSQL** database using traditional SQL queries. This is not a Spring-based project, and modern ORM tools like JPA have not been used. All database operations are performed using manual implementations.\n\n## Key Features\n- **DAO-Only Implementation**: The project focuses solely on the DAO layer, demonstrating how to handle database interactions using pure Java.\n- **Traditional Database Operations**: CRUD operations are implemented with direct SQL queries written in Java.\n- **PostgreSQL Integration**: All data is stored in and retrieved from a PostgreSQL database.\n- **Core Java Implementation**: The project does not use Spring Boot or any web-based framework. It is designed to run in a console environment.\n\n## Technical Details\n1. **Database Connectivity**: \n   - A custom `DbConnector` class handles connections to the PostgreSQL database.\n2. **DAO Implementation**:\n   - DAO classes (e.g., `BookingDao`, `FlightDao`) manage database operations such as insert, update, delete, and select queries.\n3. **Object-Oriented Design**:\n   - The system is designed using OOP principles, with separate classes for database interactions and business logic.\n\n## How to Run\n1. Set up a PostgreSQL database and configure it with the required tables.\n2. Update the database connection details in the `DbConnector` class.\n3. Compile and run the project using a Java compiler.\n4. Use the DAO methods to interact with the database directly through code.\n\n---\n\n### Database Setup\nEnsure the following tables exist in your PostgreSQL database:\n- **Flights Table**: Contains flight details.\n- **Bookings Table**: Stores booking information.\n- **Passengers Table**: Maintains passenger details.\n\nSample SQL scripts for creating tables can be provided in the `/sql-scripts` folder.\n\n---\n\nThis project is designed to showcase foundational Java database management skills through DAO-based implementations with PostgreSQL.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuseraar%2Fflight-booking_just-dao","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuseraar%2Fflight-booking_just-dao","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuseraar%2Fflight-booking_just-dao/lists"}