{"id":29538721,"url":"https://github.com/akataruka/station-management-app","last_synced_at":"2025-08-30T18:19:58.952Z","repository":{"id":304873811,"uuid":"1020354990","full_name":"Akataruka/station-management-app","owner":"Akataruka","description":"A C++ console app to manage train schedules, track allocations, and delays at stations using priority queues and smart reallocation.","archived":false,"fork":false,"pushed_at":"2025-07-15T19:01:55.000Z","size":114,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-16T16:28:26.671Z","etag":null,"topics":["cli","cpp","lld","management","object-oriented-programming","oops","station-automation","system-design","train-managment"],"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/Akataruka.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,"zenodo":null}},"created_at":"2025-07-15T18:29:16.000Z","updated_at":"2025-07-15T20:46:45.000Z","dependencies_parsed_at":"2025-07-16T22:28:55.889Z","dependency_job_id":"1d7bb345-db55-41ee-8ee8-4ee5a3150b63","html_url":"https://github.com/Akataruka/station-management-app","commit_stats":null,"previous_names":["akataruka/station-management-app"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Akataruka/station-management-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akataruka%2Fstation-management-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akataruka%2Fstation-management-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akataruka%2Fstation-management-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akataruka%2Fstation-management-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akataruka","download_url":"https://codeload.github.com/Akataruka/station-management-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akataruka%2Fstation-management-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272886746,"owners_count":25009884,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","cpp","lld","management","object-oriented-programming","oops","station-automation","system-design","train-managment"],"created_at":"2025-07-17T05:15:24.760Z","updated_at":"2025-08-30T18:19:58.931Z","avatar_url":"https://github.com/Akataruka.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚉 Station Management System\n\nA simple C++ console-based application to manage train schedules and track allocations at a station. This project simulates how trains arrive and depart from tracks and ensures optimal allocation using a priority queue and reallocation logic when delays are introduced.\n\n## ✨ Features\n\n- Add and delete trains\n- Allocate tracks optimally based on arrival/departure and availability\n- View upcoming trains (with options for time, count, and specific tracks)\n- Introduce delays and automatically reallocate tracks\n- Sort and view all trains by arrival, departure, or track\n- Real-time console interaction\n\n## 🧠 Core Concepts Used\n\n- Object-Oriented Programming (OOP)\n- Priority Queues (Min-heaps)\n- Sorting and Binary Search\n- Dynamic memory management\n- Encapsulation and modular design\n\n## 🛠️ Installation \u0026 Running\n\n1. **Clone the repository**\n   ```bash\n   git clone https://github.com/Akataruka/station-management-app.git\n   cd station-management-app\n\n\n2. **Compile the code**\n\n   ```bash\n   g++ -std=c++17 main.cpp -o station-management-app\n   ```\n\n3. **Run the app**\n\n   ```bash\n   ./station-management-app\n   ```\n\n## 📦 File Structure\n\n```\n📁 station-management-system\n├── main.cpp        # All classes and logic for train/station management\n├── README.md       # Project information and usage\n```\n\n## 🚀 Example\n\n```txt\nWELCOME TO STATION MANAGEMENT APP\n1. Create a new Station\nCHOOSE From below Functionalities (q to quit):\nEnter station Name: Central\nEnter the number of tracks: 3\nStation Created\n1. Add/Delete trains\n2. View Next trains\n3. Add delay\n4. View all trains\n5. Get station details\n...\n```\n\n## 📋 TODO\n\n* Add file-based persistence for station/train data\n* Add support for train ID search and editing\n\n## 🤝 Contributing\n\nFeel free to fork this repo and create a pull request for any improvements, bug fixes, or new features. PRs are welcome!\n\n\n## 🙋‍♂️ Author\n\n* **Asutosh Kataruka**\n  3rd Year Undergraduate, IIIT Bhubaneswar\n  Passionate about C++, LLD, ML-DL etc.\n\n---\n\n\u003e ⭐ If you found this helpful, feel free to star the repo and share!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakataruka%2Fstation-management-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakataruka%2Fstation-management-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakataruka%2Fstation-management-app/lists"}