|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/complete-vapor-3-course/
课程评论:没有评论
## Complete Vapor 3 Course 课程总结 本课程将教授如何使用 Vapor 3 构建基本的 API。内容涵盖: * **API基础搭建**: * 配置路由/URL。 * 设置数据库。 * 实现基本的 CRUD (创建、读取、更新、删除) 操作。 * **模型关系处理**: * 实现父子关系、兄弟关系等模型间关联。 * **单元测试**: * 为所有代码编写自动化单元测试,确保代码质量。 * **客户端应用开发**: * 构建 iOS 应用,调用并使用已开发的 API。 * 利用 Leaf 模板引擎构建 Web 应用,实现模板继承,避免代码重复(例如,统一管理页眉和页脚)。 * **用户认证**: * 为 iOS 应用和 Web 应用实现用户认证功能。 通过本课程的学习,您将掌握使用 Vapor 3 从零开始构建功能完善的 Web API 及其配套客户端应用的能力。
In this course I am going to teach you how to build basic API with Vapor. Starting with setting up routes/URLs and database. Then doing basic CRUD operations. Then Relationships like parent child and sibling relationships. We are going to automatically test all of these code with unit tests.Then we are going to build iOS app to make use of the API that we built.After that we are going to build a web app using Leaf templates. Leaf allows us to create templates that we can embed into another template. This avoid duplicate entries. For example create header and footer once and embed them into all pages. So to update header you only update at single place. Then it will be updated on all places. Then we are going to do authentication on iOS app and Web App.