Getting Started with Vapor 4 Lesson 2
Автор: CodeWithChris
Загружено: 2021-10-27
Просмотров: 17091
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: / mikaelacaron
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:
• Getting Started with Vapor 4 Lesson 1
Project source code can be found here in branch “lesson-2”:
https://github.com/codewithchris/YT-V...
Links of tools to download:
Homebrew https://brew.sh
Vapor https://docs.vapor.codes/4.0/install/...
Postman https://www.postman.com/downloads/
Azure Data Studio https://docs.microsoft.com/en-us/sql/...
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 - / codewithchris
🐦 Twitter - / 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
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: