Getting Started with Vapor 4 Lesson 2
Introduction to Vapor, a server-side Swift web framework. We created migrations using Fluent, added two routes to the API, one to write data and one to read data. We use Azure Data Studio and Postman to test our API and view the data in the PostgreSQL database.
Today's guest is Mikaela Caron, go check out the Live coding sessions she has on her channel: https://www.youtube.com/c/MikaelaCaron/videos
October 2022 Update: Heroku has discontinued their free tier for PostgreSQL as this video shows. This deployment strategy still works for a monthly fee. See more details in this post (https://blog.heroku.com/next-chapter). You can follow Vapor’s docs for other deployment strategies (https://docs.vapor.codes/)
If you missed Lesson 1, check it out here:
https://youtu.be/CD283bLteP0
Project source code can be found here in branch “lesson-2”:
https://github.com/codewithchris/YT-Vapor-API
Links of tools to download:
Homebrew https://brew.sh
Vapor https://docs.vapor.codes/4.0/install/macos/
Postman https://www.postman.com/downloads/
Azure Data Studio https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver15
DBeaver https://dbeaver.io
Docker Desktop https://www.docker.com/get-started
Timestamps:
00:00 Intro
00:48 What is a route?
05:47 Create Song Migration
09:54 Create Song Model
13:13 Create SongController
20:41 Start Database in Docker
26:31 How to use Azure Data Studio
28:52 Create Songs Route
35:58 Outro
🚨 SPECIAL CWC+ OFFER FOR YOUTUBE:
https://cwc.to/youtubeoffer
MY FREE ONLINE COURSE:
⚡ How to make an app in 14 days - https://cwc.to/14days
CWC+ PROGRAM:
👩💻 All our courses in a learning path - https://cwc.to/plus
WEEKLY UPDATES VIA EMAIL:
✉️ Every Saturday, receive an email digest of new content - https://cwc.to/newsletter
CONNECT:
🌍 Website - https://codewithchris.com
😺 GitHub - https://github.com/codewithchris
📸 Instagram - https://www.instagram.com/codewithchris/
🐦 Twitter - https://twitter.com/codewithchris
ABOUT CODEWITHCHRIS:
Hi I’m Chris! I’m dedicated to teaching fundamentals about how to make an app. This is important if you’re trying to land an iOS job, be a freelancer, increase or start a business with an app idea. On this channel and my website, you'll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have learned to code and build apps on their own! https://cwc.to/reviews
DID THESE LESSONS HELP YOU?
Please let me know! - https://feedback.codewithchris.com
ROADMAP:
https://roadmap.codewithchris.com
#Vapor4 #API #Docker
Видео Getting Started with Vapor 4 Lesson 2 канала CodeWithChris
Today's guest is Mikaela Caron, go check out the Live coding sessions she has on her channel: https://www.youtube.com/c/MikaelaCaron/videos
October 2022 Update: Heroku has discontinued their free tier for PostgreSQL as this video shows. This deployment strategy still works for a monthly fee. See more details in this post (https://blog.heroku.com/next-chapter). You can follow Vapor’s docs for other deployment strategies (https://docs.vapor.codes/)
If you missed Lesson 1, check it out here:
https://youtu.be/CD283bLteP0
Project source code can be found here in branch “lesson-2”:
https://github.com/codewithchris/YT-Vapor-API
Links of tools to download:
Homebrew https://brew.sh
Vapor https://docs.vapor.codes/4.0/install/macos/
Postman https://www.postman.com/downloads/
Azure Data Studio https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver15
DBeaver https://dbeaver.io
Docker Desktop https://www.docker.com/get-started
Timestamps:
00:00 Intro
00:48 What is a route?
05:47 Create Song Migration
09:54 Create Song Model
13:13 Create SongController
20:41 Start Database in Docker
26:31 How to use Azure Data Studio
28:52 Create Songs Route
35:58 Outro
🚨 SPECIAL CWC+ OFFER FOR YOUTUBE:
https://cwc.to/youtubeoffer
MY FREE ONLINE COURSE:
⚡ How to make an app in 14 days - https://cwc.to/14days
CWC+ PROGRAM:
👩💻 All our courses in a learning path - https://cwc.to/plus
WEEKLY UPDATES VIA EMAIL:
✉️ Every Saturday, receive an email digest of new content - https://cwc.to/newsletter
CONNECT:
🌍 Website - https://codewithchris.com
😺 GitHub - https://github.com/codewithchris
📸 Instagram - https://www.instagram.com/codewithchris/
🐦 Twitter - https://twitter.com/codewithchris
ABOUT CODEWITHCHRIS:
Hi I’m Chris! I’m dedicated to teaching fundamentals about how to make an app. This is important if you’re trying to land an iOS job, be a freelancer, increase or start a business with an app idea. On this channel and my website, you'll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have learned to code and build apps on their own! https://cwc.to/reviews
DID THESE LESSONS HELP YOU?
Please let me know! - https://feedback.codewithchris.com
ROADMAP:
https://roadmap.codewithchris.com
#Vapor4 #API #Docker
Видео Getting Started with Vapor 4 Lesson 2 канала CodeWithChris
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
How To Make A Dice Roll iPhone App - Ep2 - Creating Views and Adding UIElementsHow to add charts in SwiftUIHow to add Pie Charts in SwiftUICommunity App Showcase: Stock Tracker App ChallengeGrab our Black Friday Sale Deal!How did CodeWithChris start?How To Make a YouTube Video App - Ep 08 - Custom class detail view controllerBuilding the iOS Target - The Dad Jokes Series (Part 2)How To Make an App - Ep 11 - Swift IBOutlet PropertiesWhy Join CWC+?Making Money with Apps (Vlog 5)How to Build a Simple iOS Chat App - Ep 2 - Signing up for ParseReviewing Platforms State of the Union [Apple's Dev Keynote] Part 2SwiftUI DisclosureGroup TutorialCWC Stream: AMA while I work on the CWC appCWC Stream: Behind the scenes, CWC app, 3 Month Case Study updatesHow To Use Parse (Swift, Xcode) - Ep 11 - Parse User Login and Sign Up AccountHow To Make a Soundboard App (Star Wars theme) - Ep 04 Style the AppReviewing Platforms State of the Union [Apple's Dev Keynote] Part 1Starting The War Card Game App - Lesson 4 (2024 / SwiftUI)