Closed MThakkar121 closed 4 years ago
Have you followed the steps to manually add a flight? If so, can you try adding a flight for November as I think there is a bug in the resolver?
It’d be great to hear what steps you’ve taken too
On Fri, 25 Oct 2019 at 19:11, Mayur Thakkar notifications@github.com wrote:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aws-samples/aws-serverless-airline-booking/issues/78?email_source=notifications&email_token=AAZPQBAHM2R7WBAC3WVCU5TQQMZD5A5CNFSM4JFG23XKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUOM4OQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZPQBCF7CT2LWVVYGOWJJDQQMZD5ANCNFSM4JFG23XA .
I've followed all the steps which are explained in to the readme.md file !!
Wait, please explain me, I mean help me with that! how can I implement by following manual steps ?
Hi Mayur,
Please follow these manual steps to add your flights into the system and then you should be able to find them when searching in the web app - https://github.com/aws-samples/aws-serverless-airline-booking#adding-your-first-flight
Notice the mutation flight1 that adds a flight for London Gatwick/Madrid on Dec 2nd - https://github.com/aws-samples/aws-serverless-airline-booking/blob/develop/sample-queries-mutations.gql#L4
If the instructions succeeded and you've got your first flight added in the DB, the following query should work for you - Similarly to the instructions, you can run them within AppSync Console:
query {
listFlights(limit:2){
items {
id,
departureDate,
departureAirportCode,
departureAirportName,
departureCity,
departureLocale,
arrivalDate,
arrivalAirportCode,
arrivalAirportName,
arrivalCity,
arrivalLocale,
ticketPrice,
ticketCurrency,
flightNumber,
seatAllocation,
seatCapacity
}
}
}
Let me know the result of the query above once you have a chance.
Hope that helps and thanks for raising the issue
Thank you for helping me out of these problem I'll tell you about the results ASAP !
On Mon, Nov 11, 2019, 02:37 Heitor Lessa notifications@github.com wrote:
Hi Mayur,
Please follow these manual steps to add your flights into the system and then you should be able to find them when searching in the web app - https://github.com/aws-samples/aws-serverless-airline-booking#adding-your-first-flight
Notice the mutation flight1 that adds a flight for London Gatwick/Madrid on Dec 2nd - https://github.com/aws-samples/aws-serverless-airline-booking/blob/develop/sample-queries-mutations.gql#L4
If the instructions succeeded and you've got your first flight added in the DB, the following query should work for you - Similarly to the instructions, you can run them within AppSync Console:
query { listFlights(limit:2){ items { id, departureDate, departureAirportCode, departureAirportName, departureCity, departureLocale, arrivalDate, arrivalAirportCode, arrivalAirportName, arrivalCity, arrivalLocale, ticketPrice, ticketCurrency, flightNumber, seatAllocation, seatCapacity } } }
Let me know the result of the query above once you have a chance.
Hope that helps and thanks for raising the issue
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aws-samples/aws-serverless-airline-booking/issues/78?email_source=notifications&email_token=AIZ7BKP2V4AFEB3DEILTAGDQTBZ2FA5CNFSM4JFG23XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDVGZQA#issuecomment-552234176, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ7BKPKXF5M5PMJ3JR2PKDQTBZ2FANCNFSM4JFG23XA .
Resolving this as of now, but please reopen once you've got the results to share :)
not getting any flights arrival departure details, after setting up the web application and running it ! it runs successfully but after the logging in didn't getting any flights..