{"id":22196970,"url":"https://github.com/hesic73/fastapi-template","last_synced_at":"2026-05-06T22:09:08.564Z","repository":{"id":252708187,"uuid":"836139580","full_name":"hesic73/fastapi-template","owner":"hesic73","description":"A FastAPI template with integrated frontend and backend | 前后端不分离的FastAPI模板","archived":false,"fork":false,"pushed_at":"2024-08-13T04:53:48.000Z","size":365,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T06:49:00.180Z","etag":null,"topics":["bootstrap","bootstrap5","fastapi","jinja2","python","python3","sqlalchemy"],"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/hesic73.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-07-31T08:26:51.000Z","updated_at":"2025-10-02T00:59:23.000Z","dependencies_parsed_at":"2024-08-12T00:28:47.660Z","dependency_job_id":"36d03625-fa4f-42f2-a7b1-11c81aa6f05d","html_url":"https://github.com/hesic73/fastapi-template","commit_stats":null,"previous_names":["hesic73/fastapi-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/hesic73/fastapi-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesic73%2Ffastapi-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesic73%2Ffastapi-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesic73%2Ffastapi-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesic73%2Ffastapi-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hesic73","download_url":"https://codeload.github.com/hesic73/fastapi-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hesic73%2Ffastapi-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32713886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bootstrap","bootstrap5","fastapi","jinja2","python","python3","sqlalchemy"],"created_at":"2024-12-02T14:17:56.151Z","updated_at":"2026-05-06T22:09:08.550Z","avatar_url":"https://github.com/hesic73.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Full Stack FastAPI Template\n\nThis template offers a simplified admin interface, drawing inspiration from [SQLAdmin](https://github.com/aminalaee/sqladmin). It features an async SQLAlchemy engine and WTForms for form building and validation. Unlike SQLAdmin, which uses metaprogramming and Starlette, this template simplifies the process with straightforward function calls for adding model views and utilizes FastAPI directly. Relationship view and selection, search, and export features are not supported.\n\n\n## Technology Stack\n\n- Backend: FastAPI + SQLAlchemy + Jinja2\n- Database: PostgreSQL\n- Frontend: Bootstrap\n\n\n\n## Usage\n\nTo get started with this template:\n\n1. **Create a new repository using this template**:\n\n   - Click the \"Use this template\" button to create a new repository under your GitHub account.\n   - Clone your newly created repository:\n\n   ```bash\n   git clone git@github.com:\u003cyour-username\u003e/\u003cyour-repository\u003e.git\n   cd \u003cyour-repository\u003e\n   ``````\n\n2. **Create a virtual environment**:\n\n   ```bash\n   python -m venv venv\n   source venv/bin/activate \n   ```\n\n3. **Install dependencies**:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. **Configure environment variables**:\n\n   Modify the `.env` file with your specific settings, or set the necessary environment variables directly in your shell. This includes your database URL, secret keys, etc.\n\n5. **Run the application**:\n\n   With your environment configured, you can now start the application.\n\n   ```bash\n   uvicorn app.main:app --reload\n   ```\n\n   The application should now be running and accessible at `http://127.0.0.1:8000`.\n\n\n## Screenshots\n\n![register](assets/images/register.png)\n\n![list](assets/images/list.png)\n\n![batch_delete](assets/images/batch_delete.png)\n\n![create](assets/images/create.png)\n\n![details](assets/images/details.png)\n\n![edit](assets/images/edit.png)\n\n\n\n## Reference\n\n- https://github.com/tiangolo/full-stack-fastapi-template\n- https://github.com/aminalaee/sqladmin\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhesic73%2Ffastapi-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhesic73%2Ffastapi-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhesic73%2Ffastapi-template/lists"}