Загрузка...

Deploy V lang CRUD REST API with PostgreSQL on GCP Cloud Run

Learn how to deploy V lang CRUD REST API with PostgreSQL on GCP Cloud Run

📗 Buy the book on "Getting Started with V Programming" on Amazon https://amzn.to/3EvPr2w

Programming Language & web framework:
* The REST API that performs CRUD operations is implemented using V programming language with it's in-built module vweb.

Database:
* The application talks to a PostgreSQL database with the help "pg" an in built module that comes with V to interact with PostgreSQL database.

Packaging followed for Deployment:
* The module implemented will be packaged using a Dockerfile
* We will be using the official V lang's base image thevlang/vlang:latest to build the application code.
* We will be using the zztkm.vdotenv package to read environment variables from a .env files. We will install this package via VPM a.k.a V Package Manager

Contents
00:00 Intro
01:07 Setting up the Code base to talk to PostgreSQL database
02:45 Install zztkm.vdotenv via VPM and configure .env files
04:55 Build Dockerfile
09:18 Enabling APIs & Services on GCP
10:40 Cloud SQL Database Instance for PostgreSQL on GCP
15:37 Configuring Continuous Deployment on GCP via CloudBuild
20:11 Create service on Cloud Run
28:28 Understanding Cloud Build Triggers and Build Details
30:50 Demo of V lang Vweb CRUD REST API on Cloud Run
33:24 Continuous Deployment Demonstration on Cloud Build
35:43 Outro
Resources:
* Full Code: https://github.com/windson/vlang-api/tree/vweb-cloud-run
* Getting Started with V Programming : https://amzn.to/3EvPr2w
* vdotenv module to read environment variables from .env files https://github.com/zztkm/vdotenv
* V lang official website: https://vlang.io
* Join V lang discord: https://discord.gg/vlang

Related Videos:
How to deploy V lang REST API on Azure https://bit.ly/3WvWYF3
How to create Cloud SQL Postgres Db Instance on GCP and Connect from Local PC using PgAdmin4 https://bit.ly/3CLAwic

#googlecloud #vlang #postgresql #gcp #cloudrun

@GoogleDevelopers @googlecloudtech @googlecloud

------------------------------------------------------------------------------------------------

🆂🆄🅱🆂🅲🆁🅸🅱🅴 to 🆃🆄🆃🅻🅸🅽🅺🆂 channel if you like the content http://bit.ly/2Uc0YNk
🆂🆄🅱🆂🅲🆁🅸🅱🅴: http://bit.ly/2Uc0YNk

(っ◔◡◔)っ Share this video with your friends and colleagues and let them know you are up to date with latest tech-trends

Thanks 🙏

Follow us to keep updated with latest trends in Tech:

Facebook: http://bit.ly/2Djmd6l
Twitter: http://bit.ly/2Ol9ZQT
Instagram: http://bit.ly/2pV4cYY
Support: http://bit.ly/2NZgVma (Appreciate your Generosity: 💸)

Видео Deploy V lang CRUD REST API with PostgreSQL on GCP Cloud Run канала TutLinks
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять