{"id":20199450,"url":"https://github.com/roblesdotdev/fastapi-starter","last_synced_at":"2025-10-08T09:08:25.338Z","repository":{"id":174316969,"uuid":"651748111","full_name":"roblesdotdev/fastapi-starter","owner":"roblesdotdev","description":"Example API","archived":false,"fork":false,"pushed_at":"2023-06-11T03:10:11.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-09T13:51:28.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/roblesdotdev.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":"2023-06-10T01:36:18.000Z","updated_at":"2023-06-11T03:02:40.000Z","dependencies_parsed_at":"2023-07-05T07:16:23.862Z","dependency_job_id":null,"html_url":"https://github.com/roblesdotdev/fastapi-starter","commit_stats":null,"previous_names":["roblesdotdev/fastapi-starter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roblesdotdev/fastapi-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblesdotdev%2Ffastapi-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblesdotdev%2Ffastapi-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblesdotdev%2Ffastapi-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblesdotdev%2Ffastapi-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roblesdotdev","download_url":"https://codeload.github.com/roblesdotdev/fastapi-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roblesdotdev%2Ffastapi-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278917284,"owners_count":26068270,"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-10-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2024-11-14T04:37:36.263Z","updated_at":"2025-10-08T09:08:25.297Z","avatar_url":"https://github.com/roblesdotdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Getting started with fastapi\n\n### Setup Python Environment\n\n```\npipenv --python 3.10\npipenv shell\npipenv install pytest pylint black --dev\n```\n\n### Create makefile with useful commands.\n\n- install\n- format\n- lint\n- test\n\n### Create Open Api Specification\n\n[The Swagger Editor](https://editor.swagger.io) provides a user-friendly interface\nthat allows you to efficiently add and edit the components of your OAS. You can\nspecify detailed information such as descriptions, examples, and validation\nconstraints for each element of your API.\n\n### Generate schema from oas\n\n```\nmkdir todo\npipenv install datamodel-code-generator --dev\ndatamodel-codegen --input oas.yaml output todo/schema.py\n```\n\n### Setup fastapi\n\n```\npipenv install fastapi uvicorn\n```\n\n```\n# todo/server.py\nfrom fastapi import FastApi\n\nserver = FastApi(debug=True)\n\nfrom todo import api\n```\n\n```\n# todo/api.py\n\nfrom todo.server import server\n\n@server.get(\"/hello\")\ndef hello():\n  return {\n    'message': 'Hello World'\n  }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froblesdotdev%2Ffastapi-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froblesdotdev%2Ffastapi-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froblesdotdev%2Ffastapi-starter/lists"}