# liaogx/fastapi-tutorial

整体的介绍 FastAPI，快速上手开发，结合 API 交互文档逐个讲解核心模块的使用。视频学习地址：

Repository: https://github.com/liaogx/fastapi-tutorial
Canonical: https://ross.abutalabs.com/products/fastapi-tutorial
Homepage: https://www.imooc.com/learn/1299
Language: JavaScript
License Family: other
Topics: python, fastapi, restful-api, sqlalchemy, sqlite3
Last push: 2023-08-09T09:13:40+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2076, "days_push": 1120, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1436, forks 376 (observed 2026-08-28T04:04:43.660051+00:00)

## What it is
A Chinese-language tutorial repository accompanying a video course that teaches the FastAPI Python web framework from Hello World through advanced topics like dependency injection, SQLAlchemy ORM, OAuth2/JWT authentication, middleware, and testing. It uses a COVID-19 data query application as the running example project.

## Use cases
- learn fastapi from scratch
- tutorial on pydantic request validation
- example of fastapi with sqlalchemy and sqlite
- how to implement jwt oauth2 authentication in fastapi
- fastapi dependency injection examples
- structure a large fastapi project
- write tests for fastapi endpoints
- learn to build restful apis in python

## When to choose
- you are a beginner wanting a structured, chapter-by-chapter FastAPI course with runnable code
- you prefer Chinese-language learning materials with a companion video course
- you want a complete example project covering auth, ORM, middleware, CORS, and testing

## When to avoid
- you need production-ready application code rather than teaching examples
- you want up-to-date FastAPI practices, as the material dates from around 2020-2023
- you need English-language documentation

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: web-framework, api-framework, orm, auth, testing, templating
- domain: web-development, backend, tutorials, education, apis
- platform: python, cross-platform
- tags: fastapi, pydantic, sqlalchemy, restful-api, course-materials, chinese-language, swagger-ui, jwt-authentication, dependency-injection

## Member repositories
- liaogx/fastapi-tutorial (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:43.660051+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:36:48.274521+00:00, confidence not recorded.
  - readme: https://github.com/liaogx/fastapi-tutorial (fetched 2026-08-28T04:04:43.660051+00:00, sha 90393974eff0)
  - homepage: https://www.imooc.com/learn/1299 (fetched 2026-08-29T11:48:10.258197+00:00, sha 2bbfd6f2cbbb)
  - site_page: https://www.imooc.com/about/us (fetched 2026-08-29T11:48:10.267540+00:00, sha 5cdb57b030f5)
  - site_page: https://www.imooc.com/about/contact (fetched 2026-08-29T11:48:10.269898+00:00, sha 260a331f6a3b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
