Skip to content

Tutorial of FastAPI and Google Cloud Build CI/CD in Thai language

Notifications You must be signed in to change notification settings

bozzlab/fastapi-cicd

Repository files navigation

FastAPI Movies Store

Author : Peem Srinikorn

Example of API code using FastAPI.
Let's Unleash the API with FastAPI feature contains Python 3, Asynchronous server, Modernization, Powerful API Document, GraphQL, WebSocket


Medium (Thai Language)

[Review] สร้าง API ด้วย FastAPI เร็ว แรง ฟิ้ว ๆ

สร้าง CI/CD Pipeline ด้วย Google Cloud Build ภายใน 5 นาที !!!

Prepare Project

pipenv shell --python 3
pipenv install -r requirements.txt

Run

python main.py

Test

pytest -v 

Docs

0.0.0.0:8080/docs

Example of FastAPI and Google Cloud Build CI/CD

API Documents

alt text

Interactive Documents

alt text

GitHub CI/CD workflow with Google Cloud

alt text