https://github.com/amitkannaujiya/goclientgrpc
This Repo will have a golang client for grpc server .
https://github.com/amitkannaujiya/goclientgrpc
golang grpc-client grpc-go
Last synced: 8 months ago
JSON representation
This Repo will have a golang client for grpc server .
- Host: GitHub
- URL: https://github.com/amitkannaujiya/goclientgrpc
- Owner: AmitKannaujiya
- License: apache-2.0
- Created: 2024-10-24T20:21:11.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-27T20:46:59.000Z (about 1 year ago)
- Last Synced: 2025-04-01T13:17:34.054Z (8 months ago)
- Topics: golang, grpc-client, grpc-go
- Language: Go
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Ticket Booking client (GRPC API for Train Ticket Booking Client)
This Repo will have a golang client for ticket booking grpc server .
## List of features
### Purchase Ticket PurchaseTicket
* Call Booking for User (firstName, lastName, Section A or B, Price, Source, Destination)
* Store Booking history in memory
### Generate Booking Receipt
* Get Booking details against ReceiptId
### Get List of Users for each sections
* Send List of Users and booked seats section wise
* Fetch and send details of User Seat mapping
### Modify Seat of User
* Modify the seat of user if it is available
* Update the booking
### Remove User from Train (Cancel Booking)
* Modify the seat of user if it is available
* Update the booking
# Running Locally using Docker
* git clone https://github.com/AmitKannaujiya/GoClientGrpc.git
```bash
cd
go run main.go
```
access site on: http://localhost:5001/
# Documentation
* [API Docs](pending)
* [Model Design](pending)
* [Code Structure](pending)
# TODO
- [ ] Update command code with smaller modules
- [ ] Add tests for more cases
- [ ] Add tests for helpers functions
- [ ] Store results of API
- [ ] Add documentation
- [ ] Add Authentication
- [ ] Update Logging