{"id":16175210,"url":"https://github.com/app-generator/fastapi-learn-by-coding","last_synced_at":"2026-05-16T18:08:39.822Z","repository":{"id":100502914,"uuid":"379956056","full_name":"app-generator/fastapi-learn-by-coding","owner":"app-generator","description":"FastAPI - Learn by Coding | AppSeed","archived":false,"fork":false,"pushed_at":"2022-01-20T16:21:56.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T18:51:32.995Z","etag":null,"topics":["appseed-sample","fastapi","learn-by-coding"],"latest_commit_sha":null,"homepage":"https://docs.appseed.us/technologies/fastapi/getting-started","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/app-generator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-06-24T14:38:47.000Z","updated_at":"2022-01-20T15:51:40.000Z","dependencies_parsed_at":"2023-06-25T20:53:40.677Z","dependency_job_id":null,"html_url":"https://github.com/app-generator/fastapi-learn-by-coding","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/app-generator/fastapi-learn-by-coding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Ffastapi-learn-by-coding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Ffastapi-learn-by-coding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Ffastapi-learn-by-coding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Ffastapi-learn-by-coding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/fastapi-learn-by-coding/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Ffastapi-learn-by-coding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33113509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["appseed-sample","fastapi","learn-by-coding"],"created_at":"2024-10-10T04:44:22.478Z","updated_at":"2026-05-16T18:08:39.807Z","avatar_url":"https://github.com/app-generator.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learn FastAPI by Coding\n\nOpen-source project provided by AppSeed to help beginners accommodate faster with FastAPI. For newcomers, FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints. \n\n\u003e Links\n\n- 👉 [Getting Started with FastAPI](https://docs.appseed.us/technologies/fastapi/getting-started) - A comprehensive introduction to FastAPI\n- 👉 Free [Support](https://appseed.us/support) via `email` and [Discord](https://discord.gg/fZC6hup).\n\n\u003cbr /\u003e\n\n## Getting Started with FastAPI\n\n\u003e Create a Virtual Environment\n\n```bash\n$ # Virtualenv modules installation (Unix-based systems)\n$ virtualenv env\n$ source env/bin/activate\n$\n$ # Virtualenv modules installation (Windows-based systems)\n$ # virtualenv env\n$ # .\\env\\Scripts\\activate\n```\n\n\u003cbr /\u003e\n\n\u003e Install `FastAPI` and `uvicorn`\n\n```bash\n$ pip install fastapi\n$ pip install uvicorn\n```\n\n\u003cbr /\u003e\n\n\u003e Edit your first file `main.py`\n\n```python\nfrom fastapi import FastAPI\n\napp = FastAPI()\n\n@app.get(\"/\")\nasync def root():\n    return {\"message\": \"Hello FastAPI\"}\n```\n\n\u003cbr /\u003e\n\n\u003e Start the app using `uvicorn` \n\n```bash\n$ uvicorn main:app --reload\n$ \n$ The project is LIVE - https://localhost:8000 \n```\n\n\u003cbr /\u003e\n\n\u003e Visualize auto-generated docs\n\n- OpenAPI: `http://localhost:8000/docs`\n- ReDoc: `http://localhost:8000/redoc`\n\n\u003cbr /\u003e\n\n![FastAPI - Browser Interactive Console.](https://user-images.githubusercontent.com/51070104/150373332-967dff20-52a9-4df9-adcf-15dd947bd8eb.jpg)\n\n\u003cbr /\u003e\n\n## Added Tortoise ORM Sample \n\n\u003e Original code: [ML \u0026 FastAPI - CH06](https://github.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI/tree/main/chapter6/tortoise)\n\n\u003cbr /\u003e\n\n**How to use it**\n\n```bash\nuvicorn app_tortoise:app --reload\n```\n\nAccess the app in the browser and query the API \n\n- `http://localhost:8000/docs` - Interactive UI  \n- `http://localhost:8000/posts` - List all posts \n\n\u003cbr /\u003e\n\n--- \nLearn FastAPI by Coding - Provided and actively supported by AppSeed [App Generator](https://appseed.us)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Ffastapi-learn-by-coding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Ffastapi-learn-by-coding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Ffastapi-learn-by-coding/lists"}