Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
27 октября 2021 г. 21:00:01
00:36:30
Яндекс.Метрика