It is an application that demonstrates ticket booking using golang,Grpc.
Commands to Build & Run:
-
command to build client executable :
step 1: move inside the client directory (/Train_Booking/client) step 2: go build . step 3: ./client.exe
-
Command to build Server executable :
step 1: move inside the client directory (/Train_Booking/client) step 2: go build . step 3: ./server.exe
Functionalities :
-
BookTicket - > Take user details , travelling details as a input and Book a ticket.
-
GetReceipt - > Take Seatno and Coachno and Give the Complete Ticket Details.
-
GetAllUsers - > Take coachno as input and provide all the user details in that Coachno.
-
ModifySeat -> Take seatno and Coacho as input and book a new seat in the train.
-
DeleteTicket -> Take seatno and Coachno as input and delete the user ticket from the train.