Requires a pro subscription Pro

Server-Side Swift with Vapor

Learn how to create Server-Side Swift apps with Vapor. By Tim Condon.

Login to leave a rating/review
Save for later
Share

Part 1: Getting Started With Vapor

1
Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Conclusion 1:06
Toggle description

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

Part 2: Creating An API

Toggle description

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.

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Conclusion 1:01
Toggle description

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

Part 3: Templating With Leaf

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Toggle description

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

Conclusion 1:12
Toggle description

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

Part 4: Authentication

Toggle description

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.

Passwords 9:45
Toggle description

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

Toggle description

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

Toggle description

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

Conclusion 1:24
Toggle description

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