{"id":23052112,"url":"https://github.com/atticuszeller/fastapi_supabase_template","last_synced_at":"2025-04-05T03:02:34.565Z","repository":{"id":215531030,"uuid":"711453198","full_name":"AtticusZeller/fastapi_supabase_template","owner":"AtticusZeller","description":"👏fastapi deeply integrates with supabase，auth，curd postgresql，file upload ，etc  ， all in one😎，inspired by full stack fastapi postgresql","archived":false,"fork":false,"pushed_at":"2025-03-04T05:42:05.000Z","size":1670,"stargazers_count":184,"open_issues_count":1,"forks_count":14,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-05T03:02:06.012Z","etag":null,"topics":["fastapi","fastapi-admin","fastapi-crud","fastapi-template","python","supabase","supabase-auth","supabase-client","supabase-db","supabase-storage"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AtticusZeller.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-29T10:12:30.000Z","updated_at":"2025-04-03T03:06:48.000Z","dependencies_parsed_at":"2024-01-11T16:23:10.402Z","dependency_job_id":"95adf828-ec09-46a3-95bb-ee0827e7fd4c","html_url":"https://github.com/AtticusZeller/fastapi_supabase_template","commit_stats":null,"previous_names":["atticuszz/fastapi_supabase_template","atticuszeller/fastapi_supabase_template"],"tags_count":10,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtticusZeller%2Ffastapi_supabase_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtticusZeller%2Ffastapi_supabase_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtticusZeller%2Ffastapi_supabase_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtticusZeller%2Ffastapi_supabase_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AtticusZeller","download_url":"https://codeload.github.com/AtticusZeller/fastapi_supabase_template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280230,"owners_count":20912967,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fastapi","fastapi-admin","fastapi-crud","fastapi-template","python","supabase","supabase-auth","supabase-client","supabase-db","supabase-storage"],"created_at":"2024-12-16T00:07:06.565Z","updated_at":"2025-04-05T03:02:34.545Z","avatar_url":"https://github.com/AtticusZeller.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastAPI Supbase Template\n\n## Environment\n\n### Python\n\n\u003e [uv](https://github.com/astral-sh/uv) is an extremely fast Python package and project manager, written in Rust.\n\n```bash\ncd backend\nuv sync --all-groups --dev\n```\n\n### [Supabase](https://supabase.com/docs/guides/local-development/cli/getting-started?queryGroups=platform\u0026platform=linux\u0026queryGroups=access-method\u0026access-method=postgres)\n\ninstall supabase-cli\n\n```bash\n# brew in linux https://brew.sh/\nbrew install supabase/tap/supabase\n```\n\nlaunch supabase docker containers\n\n```bash\n# under repo root\nsupabase start\n```\n\n\u003e [!NOTE]\n\u003e```bash\n\u003e# Update `.env`\n\u003ebash scripts/update-env.sh\n\u003e```\n\u003e modify the `.env` from the output of `supabase start` or run `supabase status` manually.\n\n## Test\n\n```bash\ncd backend\n# test connection of db and migration\nscripts/pre-start.sh\n# unit test\nscripts/test.sh\n# test connection of db and test code\nscripts/tests-start.sh\n```\n\n## Docker\n\n\u003e [!note]\n\u003e `atticux/fastapi_supabase_template` is your image tag name, remember replace it with yours\n\nbuild\n\n```bash\ncd backend\ndocker build -t atticux/fastapi_supabase_template .\n```\n\ntest\n\n```bash\nbash scripts/update-env.sh\nsupabase start\ncd backend\ndocker run --network host \\\n  --env-file ../.env \\\n  -it atticux/fastapi_supabase_template:latest \\\n  bash -c \"sh scripts/pre-start.sh \u0026\u0026 sh scripts/tests-start.sh\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatticuszeller%2Ffastapi_supabase_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatticuszeller%2Ffastapi_supabase_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatticuszeller%2Ffastapi_supabase_template/lists"}