Getting Started with Server-side Swift and Vapor 3
With Vapor, you can use your existing Swift knowledge and build full-stack web applications. This course will teach you how to build out routing, databases, and templating in Vapor.
What you'll learn
Vapor is a powerful Server-side Swift framework for building web applications. In this course, Getting Started with Server-side Swift and Vapor, you’ll learn everything you need to know to start building web applications with Vapor. First, you’ll set up your dev environment and cover the basics of building a Vapor app on both macOS and Linux. Then, you’ll explore routing and persisting models to a database. Once the infrastructure is in place, you’ll take the next steps and build out a website to handle CRUD operations. Finally, you’ll deploy this app to two cloud platforms, Vapor Cloud and Heroku. When you’re finished with this course, you’ll have a strong understanding of Server-side Swift development and Vapor that will help you build your next web app in Swift.
Table of contents
- Introduction 1m
- Creating the Project 5m
- MySQL and Docker 3m
- SPM and Fluent 2m
- Your First Model 2m
- Demo: Your First Model 2m
- Your First Model Revisited 3m
- Your First Route 3m
- Demo: Your First Route 5m
- Create, Read, Update, and Delete (CRUD) 4m
- Fluent Queries 3m
- Demo: Sample Model 3m
- Demo: Sample Routes 3m
- Controllers 2m
- Demo: Controllers 3m
- Summary 1m
- Introduction 1m
- Demo: Setting up Leaf and VS Code 2m
- Demo: Your First Template 3m
- Leaf Templating 1m
- Demo: Leaf Templating 6m
- Embedding Leaf Templates 3m
- Demo: Embedding Leaf Templates 5m
- Demo: Beautifying with Bootstrap 4m
- Demo: Create Users and Samples 7m
- Demo: PUT and DELETE 5m
- Adding Navigation 3m
- Summary 1m