You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pip3 install fastapi
$ pip3 install uvicorn # run as server
$ uvicorn main:app --reload
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
INFO: Started reloader process [28720]
INFO: Started server process [28722]
INFO: Waiting for application startup.
INFO: Application startup complete.
FastAPI 可谓说目前Python Web Framework 中的当红炸子鸡,一直只闻其名,没有尝试过,今天抽空也尝试一把。
主页
安装
$ pip3 install fastapi $ pip3 install uvicorn # run as server $ uvicorn main:app --reload INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) INFO: Started reloader process [28720] INFO: Started server process [28722] INFO: Waiting for application startup. INFO: Application startup complete.
参考资料
The text was updated successfully, but these errors were encountered: