python 웹 프레임 워크
시작하기 좋음 , 간편함
https://fastapi.tiangolo.com/ko/
공홈에 들어가본다.
간단히
pip install fastapi
pip install uvicorn
하면 설치가 됨
main.py
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
async def root():
return {"message":"hello world"}
실행을 하게 되면
localhost:8000/docs
짠~~~ 이와같은 화면을 볼 수있다.