- FastAPI
- SQLAlchemy
- SQLite
- pytest
上記フレームワークによるwebアプリケーション制作教育用のリポジトリです
- データベース作成
py -m app.models- APIサーバー起動
py -m uvicorn app.main:app --reload- テストの実行
-
ex1) 全テストの実行
pytest tests/
-
ex2) test > test_api.py の実行
pytest test/test_api.py
-
-
FastAPI-tutorial:SQL(Relational)Database
⇒ このページだけでも最終課題で必要な内容はほとんど網羅されてます.