{"id":18507755,"url":"https://github.com/clubgamma/ticket-booking","last_synced_at":"2025-04-09T03:31:28.435Z","repository":{"id":258484318,"uuid":"870101235","full_name":"clubgamma/Ticket-Booking","owner":"clubgamma","description":"Participate in Club Gamma Hacktoberfest by contributing to any Club Gamma Project","archived":false,"fork":false,"pushed_at":"2024-10-24T11:46:41.000Z","size":188,"stargazers_count":1,"open_issues_count":2,"forks_count":10,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-10-24T21:24:12.518Z","etag":null,"topics":["c","hacktoberfest","hacktoberfest2024","menu-driven-program","ticket-booking-system"],"latest_commit_sha":null,"homepage":"https://clubgamma.vercel.app/","language":"C","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/clubgamma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-09T12:52:47.000Z","updated_at":"2024-10-24T13:28:00.000Z","dependencies_parsed_at":"2024-10-26T13:47:50.201Z","dependency_job_id":null,"html_url":"https://github.com/clubgamma/Ticket-Booking","commit_stats":null,"previous_names":["clubgamma/ticket-booking"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clubgamma%2FTicket-Booking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clubgamma%2FTicket-Booking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clubgamma%2FTicket-Booking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clubgamma%2FTicket-Booking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clubgamma","download_url":"https://codeload.github.com/clubgamma/Ticket-Booking/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223362251,"owners_count":17133067,"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":["c","hacktoberfest","hacktoberfest2024","menu-driven-program","ticket-booking-system"],"created_at":"2024-11-06T15:12:21.522Z","updated_at":"2024-11-06T15:12:22.049Z","avatar_url":"https://github.com/clubgamma.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ticket Booking System\n\nA simple ticket booking system implemented in C that allows users to add and display bookings. The system saves the booking details to a binary file for persistent storage.\n\n\n## Table of Contents\n\n- [Features](#features)\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Code Structure](#code-structure)\n- [Contribution Guidelines](#contribution-guidelines-)\n- [General Rules](#general-rules)\n- [Getting Started](#getting-started-)\n- [Avoiding Conflicts](#avoiding-conflicts-syncing-your-fork)\n\n\n## Features\n\n- **Add Booking**: Users can enter details for new bookings, including ticket ID, name, destination, and price.\n- **Display Bookings**: Users can view all the current bookings in a formatted table.\n- **File Storage**: Booking details are saved to and loaded from a binary file (`bookings.dat`), ensuring data persistence between sessions.\n- **User-Friendly Menu**: An interactive menu allows users to easily navigate between adding bookings and displaying them.\n\n## Requirements\n\n- C Compiler (e.g., GCC)\n- Basic understanding of C programming\n\n## Installation\n\n1. Fork the repository:\n\n   ```bash\n   Use the fork button at the top right of the repository page.\n   ```\n\n2. Clone the forked repository:\n\n   ```bash\n   git clone https://github.com/your-username/ticket-booking-system.git\n   cd ticket-booking-system\n   ```\n\n3. Compile the program:\n   ```bash\n   gcc -o booking booking.c\n   ```\n\n## Usage\n1. Run the compiled program:\n   ```bash\n   ./booking\n   ```\n\n2. Follow the on-screen menu to add bookings or display existing ones.\n\n\n## Usage with Docker\n\n1. Build the Docker image:\n\n   ```bash\n   docker build -t ticket-booking-system .\n   ```\n\n2. Run the Docker container:\n\n   ```bash\n   docker run -it ticket-booking-system\n   ```\n   \n\n## Code Structure\n- ticket_booking_system.c: The main source file containing the implementation of the ticket booking system.\n- bookings.dat: A binary file used for storing booking details (automatically created/updated by the program).\n\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclubgamma%2Fticket-booking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclubgamma%2Fticket-booking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclubgamma%2Fticket-booking/lists"}