Skip to content
프로젝트

AtticusZeller/fastapi_supabase_template

GitHub에서 보기

소개

👏fastapi deeply integrates with supabase,auth,curd postgresql,file upload ,etc , all in one😎,inspired by full stack fastapi postgresql

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

FastAPI Supabase Template

Environment

Python

uv is an extremely fast Python package and project manager, written in Rust.

cd backend
uv sync --all-groups --dev

Supabase

install supabase-cli

# brew in linux https://brew.sh/
brew install supabase/tap/supabase

launch supabase docker containers

# under repo root
supabase start

[!NOTE]

# Update `.env`
bash scripts/update-env.sh

modify the .env from the output of supabase start or run supabase status manually.

Test

cd backend
# test connection of db and migration
scripts/pre-start.sh
# unit test
scripts/test.sh
# test connection of db and test code
scripts/tests-start.sh

Docker

[!note] atticux/fastapi_supabase_template is your image tag name, remember replace it with yours

build

cd backend
docker build -t atticux/fastapi_supabase_template .

test

bash scripts/update-env.sh
supabase start
cd backend
docker run --network host \
  --env-file ../.env \
  -it atticux/fastapi_supabase_template:latest \
  bash -c "sh scripts/pre-start.sh && sh scripts/tests-start.sh"

관련 프로젝트 살펴보기

불러오는 중…