{"id":17760779,"url":"https://github.com/amitkannaujiya/gotrainbookinggrpcserver","last_synced_at":"2025-04-01T13:17:40.684Z","repository":{"id":259527728,"uuid":"878123232","full_name":"AmitKannaujiya/GoTrainBookingGrpcServer","owner":"AmitKannaujiya","description":"This Repo will have a golang grpc server which will expose protobuf api for the train ticket booking .","archived":false,"fork":false,"pushed_at":"2024-10-27T20:38:50.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T13:17:34.875Z","etag":null,"topics":["api","go-patterns","golang","grpc-server","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AmitKannaujiya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-24T20:24:48.000Z","updated_at":"2024-10-27T20:38:54.000Z","dependencies_parsed_at":"2024-10-26T15:53:27.728Z","dependency_job_id":null,"html_url":"https://github.com/AmitKannaujiya/GoTrainBookingGrpcServer","commit_stats":null,"previous_names":["amitkannaujiya/gotrainbookinggrpcserver"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitKannaujiya%2FGoTrainBookingGrpcServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitKannaujiya%2FGoTrainBookingGrpcServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitKannaujiya%2FGoTrainBookingGrpcServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmitKannaujiya%2FGoTrainBookingGrpcServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmitKannaujiya","download_url":"https://codeload.github.com/AmitKannaujiya/GoTrainBookingGrpcServer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246644098,"owners_count":20810687,"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":["api","go-patterns","golang","grpc-server","unit-testing"],"created_at":"2024-10-26T19:13:10.905Z","updated_at":"2025-04-01T13:17:40.650Z","avatar_url":"https://github.com/AmitKannaujiya.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Ticket Booking Server (GRPC API for Train Ticket Booking)\nThis Repo will have a golang grpc server which will expose protobuf api for the train ticket booking .\n\n## List of features\n\n### Generate Seats for Section \n* Add configurable no of seat for each section (A or B)\n\n### Purchase Ticket PurchaseTicket\n* Add Booking for User (firstName, lastName, Section A or B, Price, Source, Destination)\n* Store Booking history in memory\n\n### Generate Booking Receipt \n* Get Booking details against ReceiptId\n\n###  Get List of Users for each sections\n* Send List of Users and booked seats section wise \n* Fetch and send details of User Seat mapping\n\n###  Modify Seat of User\n* Modify the seat of user if it is available\n* Update the booking\n\n###  Remove User from Train (Cancel Booking)\n* Modify the seat of user if it is available\n* Update the booking\n\n# Running Locally using Docker\n\n* git clone https://github.com/AmitKannaujiya/GoTrainBookingGrpcServer.git\n```bash\ncd \u003croot path\u003e\ngo run main.go\n\n```\n\naccess site on: http://localhost:5001/\n\n# Documentation\n\n* [API Docs](pending)\n* [Model Design](pending)\n* [Code Structure](pending)\n\n# TODO\n\n- [ ] Add tests for more cases\n- [ ] Add tests for helpers\n- [ ] Add documentation \n- [ ] Add Authentication\n- [ ] Update Logging\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitkannaujiya%2Fgotrainbookinggrpcserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famitkannaujiya%2Fgotrainbookinggrpcserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitkannaujiya%2Fgotrainbookinggrpcserver/lists"}