{"id":15044013,"url":"https://github.com/anthonycorletti/modal-asgi-lifecycle-example","last_synced_at":"2025-10-23T19:31:48.259Z","repository":{"id":256853683,"uuid":"856628454","full_name":"anthonycorletti/modal-asgi-lifecycle-example","owner":"anthonycorletti","description":"Leverage FastAPI and ASGI Lifecycle on Modal","archived":false,"fork":false,"pushed_at":"2024-09-12T23:10:30.000Z","size":60,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T17:53:27.339Z","etag":null,"topics":["asgi","fastapi","modal","postgresql"],"latest_commit_sha":null,"homepage":"","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/anthonycorletti.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-09-12T23:06:56.000Z","updated_at":"2024-11-23T19:32:45.000Z","dependencies_parsed_at":"2024-09-13T12:12:36.508Z","dependency_job_id":null,"html_url":"https://github.com/anthonycorletti/modal-asgi-lifecycle-example","commit_stats":null,"previous_names":["anthonycorletti/modal-asgi-lifecycle-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonycorletti%2Fmodal-asgi-lifecycle-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonycorletti%2Fmodal-asgi-lifecycle-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonycorletti%2Fmodal-asgi-lifecycle-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonycorletti%2Fmodal-asgi-lifecycle-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthonycorletti","download_url":"https://codeload.github.com/anthonycorletti/modal-asgi-lifecycle-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237882172,"owners_count":19381176,"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":["asgi","fastapi","modal","postgresql"],"created_at":"2024-09-24T20:49:57.365Z","updated_at":"2025-10-23T19:31:42.667Z","avatar_url":"https://github.com/anthonycorletti.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# modal-asgi-lifecycle-example\n\nFinally! ASGI Lifecycle support on [Modal](https://modal.com).\n\nThis rather beefy example shows how you can quickly and easily create a FastAPI application on Modal that leverages the asgi lifecycle for things like request state and database sessions that connect to postgres with asyncpg.\n\nAdditionally, this code is packaged so that you can build and deploy your API in a docker container, independent of modal, incase you're selling your API to a customer that doesn't use modal... yet.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonycorletti%2Fmodal-asgi-lifecycle-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthonycorletti%2Fmodal-asgi-lifecycle-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonycorletti%2Fmodal-asgi-lifecycle-example/lists"}