pip3 install "fastapi[standard]"
python3 -m fastapi dev main.py
pip3 freeze > requirements.txt
pip3 install black python3 -m black main.py
from typing import Annotated, Set, Union, List, Dict from typing_extensions import Annotated from uuid import UUID from datetime import datetime, time, timedelta from fastapi import Query, Path, Body from pydantic import BaseModel, HttpUrl, Field
Search them if you don't know
Good to know If you want to add new things to the returned data by using the body data, make sure to use .model_dump(), otherwise a thing can't read it.
Good to know
.model_dump()