{"id":18893224,"url":"https://github.com/kougen/fastapi-crud","last_synced_at":"2026-04-14T03:32:58.756Z","repository":{"id":228677743,"uuid":"774332596","full_name":"kougen/fastapi-crud","owner":"kougen","description":"CRUD operation bootstrapping for FastAPI clients","archived":false,"fork":false,"pushed_at":"2025-08-23T10:48:22.000Z","size":52,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-13T05:52:47.519Z","etag":null,"topics":["crud","crud-api","crud-operation","fastapi","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/kougen-fastapi-crud/","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/kougen.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":"2024-03-19T11:15:09.000Z","updated_at":"2024-04-10T11:41:30.000Z","dependencies_parsed_at":"2024-11-15T05:30:30.076Z","dependency_job_id":null,"html_url":"https://github.com/kougen/fastapi-crud","commit_stats":null,"previous_names":["kougen/fastapi-versions"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/kougen/fastapi-crud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kougen%2Ffastapi-crud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kougen%2Ffastapi-crud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kougen%2Ffastapi-crud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kougen%2Ffastapi-crud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kougen","download_url":"https://codeload.github.com/kougen/fastapi-crud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kougen%2Ffastapi-crud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31781292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"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":["crud","crud-api","crud-operation","fastapi","python"],"created_at":"2024-11-08T08:12:35.721Z","updated_at":"2026-04-14T03:32:58.740Z","avatar_url":"https://github.com/kougen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastAPI CRUD with dynamic routers\n\n## Introduction\n\nThis is a simple CRUD application using FastAPI. The application uses dynamic routers to create routes for each model in the database.\n\n## Features\n\n- Create, Read, Update, Delete operations for each model\n- Dynamic routers for each model\n- Custom routes for each model\n\n## Requirements\n\n- Python 3.6+\n- FastAPI\n- [pyrepositories](https://pypi.org/project/pyrepositories/)\n\n## How to run\n\nFirst, install the dependencies:\n\n```bash\n\npip install -r requirements.txt\n\napp = FastAPI()\n\nds = DataSource(id_type=IdTypes.UUID)\n\napi = CRUDApi(ds, app)\n\n# Registering a router will only setup the route without including it to the app, hence you can add custom endpoints to the router\nrouter = api.register_router(\"event\" , Event).get_base()\n\n# You can add custom routes to the router\n@router.get(\"/test\", tags=[\"event\"])\ndef test():\n    return \"test\"\n\n# You should call this function after all routes are defined to make sure the routes are registered\napi.publish()\n\n\nif __name__ == \"__main__\":\n    uvicorn.run(app, host=\"0.0.0.0\", port=1112)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkougen%2Ffastapi-crud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkougen%2Ffastapi-crud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkougen%2Ffastapi-crud/lists"}