There is an updated version of this course available, created for Swift 4, macOS 10.14, Xcode 10. View Latest Version

Server Side Swift with Vapor

Feb 13 2018 · Video Course (2 hrs, 55 mins) · Intermediate

Learn how to create server side Swift apps with Vapor.

Version

  • Swift 4, Xcode 9

Getting Started With Vapor

Introduction

3:46 Free

In this video, you'll learn about Vapor and find out what you'll be learning throughout this course.

1

Hello World

8:02 Free

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

2

HTTP Basics

4:23 Free

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

3

Accepting Data

5:29 Free

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 learned in the previous videos.

5

Conclusion

1:06 Free

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

6

Creating An API

Let's review what we are going to cover in this section and also learn about what Fluent is and how Async works and why it is important.

7

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

8

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

9

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

10

Now it's time to put all of your new knowledge to the test and create your own models and controllers.

11

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

12

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

13

In this video you will learn how to take advantage of Fluent to perform powerful queries on your databases.

14

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

15

Conclusion

1:01

In this video you'll review what you have learned in the section and see what will be coming up in the next section.

16

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.

17

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

18

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

19

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

20

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

21

Put all of your Leaf skills to the test and create your own pages.

22

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

23

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

24

Conclusion

1:12

Review what you have learnt in the section and see what will be coming up in the next section.

25

Authentication

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

26

Passwords

9:45

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

27

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

28

In this video, you'll learn how to protect web pages with authentication using sessions and cookies.

29

Conclusion

1:24

Review what you have learned in both this section of videos and throughout this complete video course.

30

Contributors

Comments