Server Side Swift with Vapor

Feb 25 2019 · Video Course (4 hrs, 1 min) · Intermediate

In this course you will learn about Vapor, the Server-Side Swift web framework, learning everything you need to build powerful APIs and websites in Swift.

Version

  • Swift 4, macOS 10.14, Xcode 10

Getting Started With Vapor

Introduction

3:35 Free

In this introduction video you'll learn about Vapor and review what you’ll be learning over this course.

1

Learn how to create your first Vapor app by installing the Vapor toolbox and building your first routes.

2

Learn about how HTTP works, how requests and responses work and learn about the different methods and status codes.

3

In this video, you'll learn how to accept data in your Vapor applications and parse it with Codable.

4

Challenge time! You will be tasked with creating your own routes, using all the skills learnt in the previous videos

5

Conclusion

1:05

Review what you have learned in the section and see what will be coming up in the next section of the course.

6

Creating An API

In this video we'll review what we are going to cover in this section and learn about what Fluent is.

7

Async

10:30

Learn about why Vapor is asynchronous how it works and how Vapor uses async.

8

In this video you will learn how to create models using Fluent and how to configure your databases.

9

Learn how to create controllers to organize routes and how to save and retrieve models using Fluent.

10

Learn how to retrieve individual models in Fluent using parameters and learn how to update and delete models using Fluent.

11

Time to put all of your new knowledge to the test and create your own models and controllers in this challenge.

12

Learn how to set up parent-child relationships in Fluent and how to query models for the parent-child relationships.

13

Learn how to set up sibling relationships in Fluent and how to set up queries to retrieve model's siblings.

14

Learn how to take advantage of Fluent to perform powerful queries on your databases.

15

Learn how to setup your Vapor application to use MySQL as a database, using Docker, so your data is persisted.

16

Conclusion

0:59

Review what you have learned in the section and see what will be coming up in the next section of the course.

17

Templating With Leaf

Let’s review what we are going to learn in the section and have a quick look at Leaf and why it is useful.

18

Learn how to integrate Leaf into your application and start injecting data into Leaf templates.

19

Learn how to build powerful templates using for loops and if expressions to generate HTML.

20

Learn how to take full advantage of Leaf and embed templates in other templates to reduce duplication.

21

Learn how to integrate the Bootstrap framework into our application to provide easy styling.

22

In this challenge video you will put all of your Leaf skills to the test and create your own pages.

23

Learn how to send data with web forms and accept the data back in our Vapor application to create models.

24

Learn how to reuse templates to edit models and learn how to delete models on the web.

25

Conclusion

1:05

Review what you have learned in this section and see what will be coming up in the next section of the course.

26

Authentication

Let’s review what we are going to learn in the section and have a quick look at the different types of Authentication and passwords.

27

Passwords

10:39

Learn how to change your user models to allow authentication with passwords and create a token model.

28

Learn how to protect APIs with authentication using both HTTP Basic Authentication and Token Authentication.

29

Learn how to protect web pages with authentication using sessions and cookies.

30

Conclusion

0:51

Review what you have learned in both this section and see what will be coming up in the next section.

31

The iOS App

Let’s review what we are going to learn in this section to complete the final client - the iOS application.

32

Learn how to use the Vapor API in the iOS Application to retrieve all the acronyms, users and categories and display them in the iOS app.

33

Learn how to work with the authentication in the Vapor API to be able to create and delete models from the iOS application.

34

Learn how to build a nice user experience in the iOS application to add acronyms to different categories.

35

Conclusion

1:19

In this conclusion video, we'll review what you have learned in both this section and throughout the course.

36

Contributors

Comments