{"id":13532654,"url":"https://github.com/aws-samples/aws-serverless-airline-booking","last_synced_at":"2025-05-15T02:10:37.223Z","repository":{"id":40669793,"uuid":"181561553","full_name":"aws-samples/aws-serverless-airline-booking","owner":"aws-samples","description":"Airline Booking is a sample web application that provides Flight Search, Flight Payment, Flight Booking and Loyalty points including end-to-end testing, GraphQL and CI/CD. This web application was the theme of Build on Serverless Season 2 on AWS Twitch running from April 24th until end of August in 2019.","archived":false,"fork":false,"pushed_at":"2024-08-09T22:14:20.000Z","size":8949,"stargazers_count":2247,"open_issues_count":4,"forks_count":1305,"subscribers_count":114,"default_branch":"main","last_synced_at":"2025-04-11T14:17:09.886Z","etag":null,"topics":["airline-booking","aws","aws-lambda","aws-lambda-node","aws-lambda-python","graphql","lambda","lambda-functions","python","sam","serverless","tracing","typescript"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aws-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-04-15T20:34:33.000Z","updated_at":"2025-04-09T08:13:00.000Z","dependencies_parsed_at":"2024-09-25T00:20:14.640Z","dependency_job_id":"24879a9c-5b9d-4b1a-bc96-1710b27166e7","html_url":"https://github.com/aws-samples/aws-serverless-airline-booking","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"62db085e939b22b61c76608e628cfb7ccfcd6128"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Faws-serverless-airline-booking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Faws-serverless-airline-booking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Faws-serverless-airline-booking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aws-samples%2Faws-serverless-airline-booking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aws-samples","download_url":"https://codeload.github.com/aws-samples/aws-serverless-airline-booking/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259387,"owners_count":22040821,"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":["airline-booking","aws","aws-lambda","aws-lambda-node","aws-lambda-python","graphql","lambda","lambda-functions","python","sam","serverless","tracing","typescript"],"created_at":"2024-08-01T07:01:12.610Z","updated_at":"2025-05-15T02:10:32.213Z","avatar_url":"https://github.com/aws-samples.png","language":null,"funding_links":[],"categories":["Tutorials - Blogs \u0026 tutorials","Others","Vue","typescript"],"sub_categories":[],"readme":"## AWS Serverless Airline Booking\n\nServerless Airline Booking is a complete web application that provides Flight Search, Payment, Booking and Loyalty points including end-to-end testing, GraphQL and CI/CD. This web application was the theme of Build on Serverless Season 2 on AWS Twitch running from April 24th until August 7th - Check out [Twitch branch for the list of 14 episodes](https://github.com/aws-samples/aws-serverless-airline-booking/tree/twitch).\n\nFor more up-to-date information on what's being implemented, take a look at our current [Boards](https://github.com/aws-samples/aws-serverless-airline-booking/projects).\n\n\u003e **Note**\n\u003e\n\u003e This project is no longer being worked on. This branch repo only serves to give inspiration to others as a point in time reference, you can see the former code by viewing the [`archive` branch](https://github.com/aws-samples/aws-serverless-airline-booking/tree/archive)\n\n![Serverless Airline Booking sample](./media/prototype-web.png)\n\n## Deployment\n\nTo get started with the Serverless Airline application, you can deploy into your AWS Account by following our [Get Started instructions](./docs/getting_started.md)\n\n## Stack\n\nSummary of what the stack looks like now including a picture with the core tech:\n\n* **Front-end** - Vue.js as the core framework, Quasar for UI, Amplify for Auth UI component and AWS integration, and Stripe JS with Stripe Elements for card tokenization, validation, etc.\n* **Data** - All data is modeled after GraphQL types and stored in DynamoDB. Python being the core language for all services except Loyalty that's written in Typescript, and JavaScript for front-end.\n* **API** - GraphQL is managed by AppSync and also acts as an API Hub to interact with other services. Loyalty implements a REST API to demonstrate how to secure service-to-service communication while maintaining a public endpoint. Payment API is also based on REST to demonstrate an external payment provider.\n* **Auth** - Cognito provides JSON Web Tokens (JWT) and along with AppSync fine-grained authorization on what data types users can access.\n* **Messaging** - Booking workflow is managed by Step Functions while SNS provides service-to-service communication through messaging between Booking and Loyalty.\n\n![Core stack](./media/core-stack.png)\n\n### Back-end\n\nBack-end services that makes up the Serverless Airline functionalities as of now:\n\nService | Language | Description\n------------------------------------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------\n[Catalog](https://github.com/aws-samples/aws-serverless-airline-booking/tree/archive/src/backend/catalog/README.md) | Apache VTL | Provides Flight search. CRUD operations including custom indexes are auto-generated by Amplify\n[Booking](https://github.com/aws-samples/aws-serverless-airline-booking/tree/archive/src/backend/booking/README.md) | Python and Apache VTL | Provides new and list Bookings. CRUD operations including custom indexes are auto-generated by Amplify. Business workflow is implemented in Python.\n[Payment](https://github.com/aws-samples/aws-serverless-airline-booking/tree/archive/src/backend/payment/README.md) | YAML and Python | Provides payment authorization, collection and refund. Bulk of Payment integration with Stripe is done via a [Serverless Application Repository App](https://serverlessrepo.aws.amazon.com/applications/arn:aws:serverlessrepo:us-east-1:375983427419:applications~api-lambda-stripe-charge). Payment collection and refund operations within Booking business workflow are in Python\n[Loyalty](https://github.com/aws-samples/aws-serverless-airline-booking/tree/archive/src/backend/loyalty/README.md) | Typescript | Provides Loyalty points for customers including tiers. Fetching and ingesting Loyalty points are implemented in Typescript.\n\n### Front-end\n\nSee more information about our [Front-end, components, routing and convention](https://github.com/aws-samples/aws-serverless-airline-booking/tree/archive/src/frontend/README.md)\n\n**High level infrastructure architecture**\n\n![Serverless Airline Architecture](./media/prototype-architecture.png)\n\n## License Summary\n\nThis sample code is made available under the MIT-0 license. See the LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws-samples%2Faws-serverless-airline-booking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faws-samples%2Faws-serverless-airline-booking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faws-samples%2Faws-serverless-airline-booking/lists"}