{"id":15068102,"url":"https://github.com/coderwahaj/railway-reservation-system","last_synced_at":"2026-01-03T00:06:15.296Z","repository":{"id":249662555,"uuid":"832160410","full_name":"coderwahaj/Railway-Reservation-System","owner":"coderwahaj","description":"Designed and developed a Railway Reservation System with two distinct modules: Admin and Passenger. The Admin module allowed for managing train schedules, seat availability, and passenger records. The Passenger module enabled users to book, view, and cancel reservations.","archived":false,"fork":false,"pushed_at":"2024-07-23T11:50:58.000Z","size":800,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T06:12:19.589Z","etag":null,"topics":["cplusplus","oop","sql","windows"],"latest_commit_sha":null,"homepage":"","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/coderwahaj.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-07-22T13:09:59.000Z","updated_at":"2024-07-23T11:51:01.000Z","dependencies_parsed_at":"2024-07-22T15:53:52.426Z","dependency_job_id":null,"html_url":"https://github.com/coderwahaj/Railway-Reservation-System","commit_stats":null,"previous_names":["coderwahaj/railway-reservation-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderwahaj%2FRailway-Reservation-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderwahaj%2FRailway-Reservation-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderwahaj%2FRailway-Reservation-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderwahaj%2FRailway-Reservation-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderwahaj","download_url":"https://codeload.github.com/coderwahaj/Railway-Reservation-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830952,"owners_count":20354854,"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":["cplusplus","oop","sql","windows"],"created_at":"2024-09-25T01:30:30.438Z","updated_at":"2026-01-03T00:06:15.254Z","avatar_url":"https://github.com/coderwahaj.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Railway Reservation System\n\n## Overview\nThis project is a Railway Reservation System designed and developed with two distinct modules: Admin and Passenger. The Admin module allows for managing train schedules, seat availability, and passenger records, while the Passenger module enables users to book, view, and cancel reservations.\n\n## Features\n\n### Admin Module\n- **Train Schedule Management**: Add, update, and delete train schedules.\n- **Seat Availability**: Manage and update seat availability for each train.\n- **Passenger Records**: View and manage passenger booking records.\n\n### Passenger Module\n- **Booking Reservations**: Search for trains and book seats.\n- **View Reservations**: View existing reservations and their details.\n- **Cancel Reservations**: Cancel existing reservations and update seat availability.\n\n## Technologies Used\n- **Frontend**: GUI \n- **Backend**: c++\n- **Database**: SQL\n\n## Installation\n\n1. **Clone the Repository**\n   ```bash\n   git clone https://github.com/your-repo/railway-reservation-system.git\n   ```\n\n2. **Navigate to the Project Directory**\n   ```bash\n   cd railway-reservation-system\n   ```\n\n3. **Install Dependencies**\n   ```bash\n   npm install\n   ```\n\n4. **Set Up Environment Variables**\n   - Create a `.env` file in the root directory.\n   - Add the following environment variables:\n     ```\n     PORT=3000\n     MONGODB_URI=your_mongodb_connection_string\n     ```\n\n5. **Run the Application**\n   ```bash\n   npm start\n   ```\n\n6. **Open in Browser**\n   - Open your web browser and navigate to `http://localhost:3000`\n\n## Usage\n\n### Admin Module\n1. **Login**\n   - Admin users can log in with their credentials.\n   \n2. **Manage Train Schedules**\n   - Add new train schedules, update existing ones, or delete them as necessary.\n\n3. **Manage Seat Availability**\n   - Update seat availability for each train based on bookings and cancellations.\n\n4. **View Passenger Records**\n   - View and manage records of all passengers who have made reservations.\n\n### Passenger Module\n1. **Registration and Login**\n   - New users can register an account.\n   - Existing users can log in with their credentials.\n\n2. **Book Reservations**\n   - Search for available trains.\n   - Book seats on selected trains.\n\n3. **View Reservations**\n   - View details of current reservations, including train details and seat numbers.\n\n4. **Cancel Reservations**\n   - Cancel reservations and automatically update seat availability.\n\n## Contributing\n1. **Fork the Repository**\n   - Click the \"Fork\" button on the repository's GitHub page.\n\n2. **Create a New Branch**\n   ```bash\n   git checkout -b feature/your-feature-name\n   ```\n\n3. **Make Your Changes**\n   - Implement your feature or fix the bug.\n\n4. **Commit Your Changes**\n   ```bash\n   git commit -am 'Add new feature'\n   ```\n\n5. **Push to the Branch**\n   ```bash\n   git push origin feature/your-feature-name\n   ```\n\n6. **Create a Pull Request**\n   - Go to the repository on GitHub and create a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderwahaj%2Frailway-reservation-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderwahaj%2Frailway-reservation-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderwahaj%2Frailway-reservation-system/lists"}