Learn how to work with Vapor—an open source, server-side Swift framework—to incorporate SQL and NoSQL databases.
- [Ron] Vapor is a powerful and easy to use server-side Swift framework that runs many web services today. One reason for this is its ability to incorporate itself with a wide array of database solutions. This easy-to-use fashion allows developers to rapidly iterate their ideas. So how can you take advantage of this in your own Swift projects? Hi, I'm Ron Buencamino. In this course, we're going to learn about how to leverage Vapor's ability to incorporate databases in your server-side Swift projects.
We'll go over implementing database drivers in Vapor, creating and persisting data models, and how to handle user authentication and authorization. Along the way, we'll be taking a deep dive into Vapor's flexibility in working to create common database-related tasks. We'll also build a RESTful API, and perform a ton of tests. There's a lot to get through, so let's get started.
- Installing PostgreSQL
- Implementing a database provider and a database driver
- Working with data models
- Implementing functions such as reading, updating, and deleting persisted data
- Working with dynamic Leaf templates
- Handling authentication inside of Vapor
- Creating a login controller
- Securing certain routes within your web service
- Creating a RESTful interface