{"id":20042506,"url":"https://github.com/code4mk/azure-function-fastapi","last_synced_at":"2025-08-20T19:15:10.551Z","repository":{"id":240431214,"uuid":"802594807","full_name":"code4mk/azure-function-fastapi","owner":"code4mk","description":"Deploy Python FastAPI serverless application on Azure Functions","archived":false,"fork":false,"pushed_at":"2024-05-31T20:09:30.000Z","size":25,"stargazers_count":21,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T12:15:17.882Z","etag":null,"topics":["azure","azure-functions","devops","sdeops"],"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/code4mk.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-05-18T18:26:21.000Z","updated_at":"2025-05-27T23:10:16.000Z","dependencies_parsed_at":"2024-05-18T20:34:18.639Z","dependency_job_id":"468804dd-39b3-408a-b88e-8a6223710cce","html_url":"https://github.com/code4mk/azure-function-fastapi","commit_stats":null,"previous_names":["code4mk/azure-function-fastapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/code4mk/azure-function-fastapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4mk%2Fazure-function-fastapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4mk%2Fazure-function-fastapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4mk%2Fazure-function-fastapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4mk%2Fazure-function-fastapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code4mk","download_url":"https://codeload.github.com/code4mk/azure-function-fastapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code4mk%2Fazure-function-fastapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271370198,"owners_count":24747802,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"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":["azure","azure-functions","devops","sdeops"],"created_at":"2024-11-13T10:52:00.663Z","updated_at":"2025-08-20T19:15:10.509Z","avatar_url":"https://github.com/code4mk.png","language":"Python","readme":"# azure-function-fastapi\nDeploy Python FastAPI serverless application on Azure Functions.\n\n* Good project structure\n\n# local development (fastapi)\n\n## venv\n```bash\n# create virtual environment\npython3 -m venv .azure_function_fastapi_venv\n\n# activate virtual environment\nsource .azure_function_fastapi_venv/bin/activate\n```\n\n## run fast api project\n\n```bash\n# install packages\npip3 install -r requirements.txt\n\n# run project with uvicorn\nuvicorn \"fastapi_project.main:app\" --reload --port=8000\n\n# or, run bash with shell\n./run_fastapi_project.sh\n```\n\n# deploy on production\n\n## vscode extension\n\u003cimg width=\"986\" alt=\"Screenshot 2024-05-19 at 5 50 24 PM\" src=\"https://github.com/code4mk/azure-function-fastapi/assets/17185462/6ed26cba-70d8-4c76-8518-5c0b20eaf281\"\u003e\n\n* [Azure Function Extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions)\n\n## sql project enable\n\nset the environment variable azure (Settings \u003e\u003e Environment variables (app settings))\n* `DATABASE_URL`\n* `LOAD_SQL_PROJECT` value will be `yes`\n\n## Project route\n\n```bash\nhttp://localhost:8000/api/v1/users\nhttp://localhost:8000/health\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode4mk%2Fazure-function-fastapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode4mk%2Fazure-function-fastapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode4mk%2Fazure-function-fastapi/lists"}