{"id":15492006,"url":"https://github.com/peterchain/fastapi_template","last_synced_at":"2026-06-20T04:02:01.309Z","repository":{"id":200650839,"uuid":"335711662","full_name":"PeterChain/fastapi_template","owner":"PeterChain","description":"Basic FastAPI backend template","archived":false,"fork":false,"pushed_at":"2021-02-04T12:40:38.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-19T10:26:03.083Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PeterChain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-03T18:03:30.000Z","updated_at":"2021-02-04T12:40:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"34825af9-0bb1-43a5-991f-66ddae4ed48c","html_url":"https://github.com/PeterChain/fastapi_template","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"b0862029a6db5f6672e80fcf9f94f846d6544797"},"previous_names":["peterchain/fastapi_template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PeterChain/fastapi_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterChain%2Ffastapi_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterChain%2Ffastapi_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterChain%2Ffastapi_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterChain%2Ffastapi_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterChain","download_url":"https://codeload.github.com/PeterChain/fastapi_template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterChain%2Ffastapi_template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34556495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-02T07:58:20.501Z","updated_at":"2026-06-20T04:02:01.287Z","avatar_url":"https://github.com/PeterChain.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fast API backend app\n\n## Purpose\nTemplate app for a new Fast API backend application, it's applied to\na local SQLite database with no docker dependencies.\n\n\n## What is included\n- JWT Tokening mechanism and basic user management API.\n- Application structure:\n  - **Migrations** directory for Alembic migration usage\n  - **Scripts** for creating the admin user\n  - **App/Models** for defining ORM models (using SQLAlchemy)\n  - **App/Schemas** for defining Pydantic models\n  - **App/Routes** for defining API routes (provides a directory for each version)\n  - **App/Services** for python objects for business logic\n  - **Dependencies** and **database** for cross utilities and configurations\n\n## How to run\n- Add the app directory to PYTHONPATH\n- If models have been added, then\n  - Run Alembic revisions automatically (eg: `alembic revision --autogenerate`) or manually (eg: `alembic revision`)\n  - Perform changes to database (eg: `alembic upgrade head`)\n  - Run the initial script `python scripts/initial_user.py` for creating the admin user\n    - It uses the DB configuration of the app\n  - Run the app","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterchain%2Ffastapi_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterchain%2Ffastapi_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterchain%2Ffastapi_template/lists"}