Skip to content
Projetos

AtticusZeller/fastapi_supabase_template

Ver no GitHub

Sobre

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

Desenvolvimento web e de aplicativos

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

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"

Explore projetos relacionados

Carregando…