AWS Serverless Airline Booking 项目教程

AWS Serverless Airline Booking 项目教程

aws-serverless-airline-booking 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. aws-serverless-airline-booking 项目地址: https://gitcode.com/gh_mirrors/aw/aws-serverless-airline-booking

1. 项目的目录结构及介绍

aws-serverless-airline-booking/
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── gitignore
├── amplify/
├── backend/
│   ├── booking/
│   ├── catalog/
│   ├── loyalty/
│   ├── payment/
│   └── ...
├── frontend/
│   ├── public/
│   ├── src/
│   │   ├── assets/
│   │   ├── components/
│   │   ├── layouts/
│   │   ├── pages/
│   │   ├── router/
│   │   ├── store/
│   │   └── ...
│   └── ...
└── ...

目录结构介绍

  • CODE_OF_CONDUCT.md: 项目的行为准则文件。
  • CONTRIBUTING.md: 项目贡献指南文件。
  • LICENSE: 项目的开源许可证文件。
  • README.md: 项目的介绍和使用说明文件。
  • gitignore: Git 忽略文件配置。
  • amplify/: 包含 AWS Amplify 相关的配置文件。
  • backend/: 包含项目的后端服务代码,包括 bookingcatalogloyaltypayment 等模块。
  • frontend/: 包含项目的前端代码,包括 publicsrc 等目录。

2. 项目的启动文件介绍

前端启动文件

frontend/src/ 目录下,主要的启动文件是 main.jsApp.vue

  • main.js: 这是 Vue.js 项目的入口文件,负责初始化 Vue 实例并挂载到 DOM 上。
  • App.vue: 这是 Vue.js 项目的根组件,包含了整个应用的布局和结构。

后端启动文件

backend/ 目录下,每个服务模块(如 bookingcatalogloyaltypayment)都有自己的启动文件,通常是 handler.pyindex.js,这些文件定义了 Lambda 函数的处理逻辑。

3. 项目的配置文件介绍

前端配置文件

  • frontend/vue.config.js: Vue.js 项目的配置文件,用于配置 Webpack 和其他构建工具的选项。
  • frontend/quasar.conf.js: Quasar 框架的配置文件,用于配置 Quasar 的构建和开发选项。

后端配置文件

  • backend/serverless.yml: Serverless Framework 的配置文件,定义了 Lambda 函数、API Gateway、DynamoDB 等资源的配置。
  • backend/amplify.yml: AWS Amplify 的配置文件,定义了 Amplify 的构建和部署选项。

其他配置文件

  • amplify/team-provider-info.json: 包含 AWS Amplify 的团队提供者信息。
  • amplify/backend-config.json: 包含 AWS Amplify 的后端配置信息。

通过以上配置文件,可以对项目的前端和后端进行详细的配置和管理。

aws-serverless-airline-booking 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. aws-serverless-airline-booking 项目地址: https://gitcode.com/gh_mirrors/aw/aws-serverless-airline-booking

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

裴驰欣Fitzgerald

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值