Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Hummingbird Fundamentals: Build REST APIs in Swift
Hello HummingBird
Welcome (1:48)
Installing HummingBird (6:14)
Understanding the Folder Structure (9:19)
Automatically Restarting the Server Using watchexec (4:33)
Routing
Basic Routes and Route Parameters (9:27)
Returning JSON (7:12)
Post Requests (JSON) (5:32)
Implementing MovieStore Actor (5:21)
Query Strings (4:33)
Route Groups (5:24)
Controllers
Understanding MVC Design Pattern (3:22)
Creating Controllers Part 1 (12:26)
Creating Controllers Part 2 (7:09)
Middlewares
What is a Middleware? (1:25)
Creating a Basic Middleware
Creating Middleware Extracting Tokens from Headers
PostgreSQL Database
Downloading and Installing Postgres (2:29)
Setting Up PostgreSQL with Hummingbird (11:45)
Visualizing PostgreSQL Schema and Data (5:27)
Inserting Movie (7:47)
Get All Movies (5:46)
Get Movie By Id (5:19)
Delete Movie (6:34)
Update Movie (4:58)
REFACTORING: Initialization of MovieRepository in App+build File (1:49)
REFACTORING: Generating UUID at the Database Level (8:06)
Building Reviews (One to Many Relationship)
Creating Review Model and Empty ReviewsController (6:13)
Creating the Reviews Table (12:12)
Saving Review (13:34)
Get Movie and all its Reviews (9:58)
Get all Reviews and the Associated Movie (9:55)
Source Code
Using Fluent ORM with Hummingbird
Understanding the Starter Project (3:29)
Setting Up PostgresFluent Driver (4:36)
Creating Movies Table Using Migration (8:04)
Creating Movie Data Model (4:39)
Saving Movie (9:08)
GetAll and GetById (8:13)
Delete and Update (10:27)
Source Code
Reviews Relationship Using ORM in Hummingbird
Adding Reviews Table Using Migration (5:47)
Creating Review Data Model (4:48)
Saving Review for Movie (11:17)
Returning All Reviews by a Movie (10:07)
Returning All Reviews and Their Movies (3:25)
Source Code
JWT Authentication
Creating the Users Table (4:46)
Creating the Users Data Model (3:11)
Register User (14:49)
Encrypting Passwords (8:44)
Implementing Login Part 1 (8:47)
Implementing Login Part 2 (15:30)
Implementing Login Part 3 (15:19)
Authenticating Using Middleware Part 1 (13:23)
Authenticating Using Middleware Part 2 (9:29)
Refresh Tokens (10:37)
Source Code
Deployment
Creating Docker Image (25:13)
Build AMD Configured Docker Image and Setup Postgres Database (10:21)
Setting Environment Keys and Networking Custom Domain (9:25)
Resources
Source Code
Conclusion
Next Steps (1:28)
Teach online with
Saving Movie
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock