Airline customers can book their air tickets at an affordable price following simple and easy steps. If the customers enter their travel details, the website will fetch the best-suited flights for them
Microservice | Functionalities |
---|---|
UserDetailMS | User can login and register new account |
PaymentMS | User can pay using credit card |
SearchFlightMS | User can search flights |
BookFlightsMS | User can book flights |
POST /login
POST /register
POST /payment
POST /save-card
GET /flights/{flightId}
Parameter | Type | Description |
---|---|---|
flightId |
String |
Required. flightId |
GET /flights/sources
GET /flights/destinations
GET /flights/{source}/{destination}/{journeyDate}
Parameter | Type | Description |
---|---|---|
source |
String |
Required. source |
destination |
String |
Required. destination |
journeyDate |
Date |
Required. date of journey in yyyy-dd-mm |
POST /book/{flightId}/{usename}
Parameter | Type | Description |
---|---|---|
flightId |
String |
Required. flightId |
username |
String |
Required. username |