00:00 Intro Flutter Tutorial - API + $300 Credits Complete Setup Google Cloud
00:19 Overview
02:07 Setup Gmail Account
04:30 Create Google Cloud Project
07:20 Install gcloud CLI
08:16 Install Python
10:10 Continue gcloud CLI install
12:53 Setup Docker
15:39 Setup Project Directory
16:36 Understanding the Dockerfile
19:24 Install Flask
19:35 Code app.py
22:35 Handle Options Request
24:17 Authentication Middleware
27:25 Code the endpoint
30:53 Create requirements.txt
31:15 Build Docker Image
34:09 Push Docker Image to GCR
35:34 Deploy to Google Cloud
37:40 Test the API
39:47 Take the API offline
GITHUB REPO - https://github.com/theailanguage/pyth...
INSTALL VSCODE
• Flutter Tutorial - Install on MacBook... &t=8m15s
COMMANDS LIST
pip3 install flask
pip3 freeze {right angled bracket} requirements.txt
DOCKER COMMANDS
docker build --platform linux/amd64 --no-cache -t gcr.io/coastal-cascade-443805-g3/my-backend .
docker images
docker push gcr.io/coastal-cascade-443805-g3/my-backend
GCLOUD COMMANDS
gcloud init
gcloud run deploy my-backend \
--image gcr.io/coastal-cascade-443805-g3/my-backend \
--platform managed \
--region asia-south1 \
--allow-unauthenticated
gcloud run services list --region asia-south1
gcloud run services delete my-backend --region asia-south1
CURL COMMANDS
curl -X POST https://my-backend-330676050223.asia-... \
-H "X-API-KEY: axsdTypoiUYTfsv89**hqiu19&&&" \
-H "Content-Type: application/json"