Requires a pro subscription Pro

Server-Side Swift with Vapor

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. By Tim Condon.

Login to leave a rating/review
Save for later
Share

Part 1: Getting Started With Vapor

1
Toggle description

In this introduction video you'll learn about Vapor and review what you’ll be learning over 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 learnt in the previous videos

Conclusion 1:05
Toggle description

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

Part 2: Creating An API

Toggle description

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

Async 10:30
Toggle description

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

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

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

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

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

Toggle description

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

Conclusion 0:59
Toggle description

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

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

In this challenge video you will 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:05
Toggle description

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

Part 4: Authentication

Toggle description

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.

Passwords 10:39
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

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

Conclusion 0:51
Toggle description

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

Part 5: The iOS App

Toggle description

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

Toggle description

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.

Toggle description

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

Toggle description

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

Conclusion 1:19
Toggle description

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