{"id":16543009,"url":"https://github.com/whchi/yet-another-fastapi-rw-example","last_synced_at":"2025-06-28T11:34:45.917Z","repository":{"id":64777670,"uuid":"577349176","full_name":"whchi/yet-another-fastapi-RW-example","owner":"whchi","description":"with sqlmodel and alembic for database-related usage","archived":false,"fork":false,"pushed_at":"2024-03-10T04:04:07.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T07:12:04.976Z","etag":null,"topics":["alembic","fastapi","python","sqlmodel"],"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/whchi.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}},"created_at":"2022-12-12T14:41:34.000Z","updated_at":"2024-11-06T13:34:57.000Z","dependencies_parsed_at":"2023-12-24T08:22:51.650Z","dependency_job_id":"d0abcaf4-bdf3-4f5c-ac03-1c8e9b7e0450","html_url":"https://github.com/whchi/yet-another-fastapi-RW-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/whchi/yet-another-fastapi-RW-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whchi%2Fyet-another-fastapi-RW-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whchi%2Fyet-another-fastapi-RW-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whchi%2Fyet-another-fastapi-RW-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whchi%2Fyet-another-fastapi-RW-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whchi","download_url":"https://codeload.github.com/whchi/yet-another-fastapi-RW-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whchi%2Fyet-another-fastapi-RW-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262422779,"owners_count":23308755,"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":["alembic","fastapi","python","sqlmodel"],"created_at":"2024-10-11T18:59:05.991Z","updated_at":"2025-06-28T11:34:45.901Z","avatar_url":"https://github.com/whchi.png","language":"Python","readme":"# installation\n```shell\n# install poetry\npoetry install --no-root\n\n# database\ndocker-compose up\n```\n\n# main concept\n```shell\napp/\n├── api/                       - api related stuff\n│   ├── contexts/              - bounded contexts, add your context here\n│   │   └── example/           - domain name\n│   │       ├── domain/        - domain models, include exceptions, interfaces and pydanic models\n│   │       ├── gateway/       - interface adapter, includes presenter, repository, service...etc\n│   │       ├── usecase/       - biz logic\n│   │       └── router.py      - router of this domain\n│   ├── dependencies/          - any dependencies of router\n│   └── router.py              - router of whole app\n├── middlewares/               - app middlewares\n├── core/                      - core part of app\n├── exceptions/                - global custom exception handlers and definitions\n├── models/                    - orm models using sqlmodel\n└── main.py                    - entrypoint\n```\n# references\n* [https://github.com/Flaiers/fastapi-clean-architecture](https://github.com/Flaiers/fastapi-clean-architecture)\n* [https://github.com/NEONKID/fastapi-ddd-example](https://github.com/NEONKID/fastapi-ddd-example)\n* [https://github.com/iktakahiro/dddpy](https://github.com/iktakahiro/dddpy)\n* [https://github.com/art049/fastapi-odmantic-realworld-example](https://github.com/art049/fastapi-odmantic-realworld-example)\n* [https://github.com/nsidnev/fastapi-realworld-example-app](https://github.com/nsidnev/fastapi-realworld-example-app)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhchi%2Fyet-another-fastapi-rw-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhchi%2Fyet-another-fastapi-rw-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhchi%2Fyet-another-fastapi-rw-example/lists"}