FastAPI는 Python 웹 프레임워크로, 비동기 지원과 높은 성능을 제공하는 것이 특징이다. FastAPI에서는 Decorator를 사용해 라우팅, 요청 처리, 미들웨어 적용을 간단하게 할 수 있다! FastAPI에서 Decorator의 역할FastAPI에서 Decorator는 주로 라우팅을 설정하는 데 사용된다.@app.get() Decorator를 사용해 특정 URL을 처리하는 함수를 정의할 수 있다. from fastapi import FastAPIapp = FastAPI()@app.get("/")def test(): return {"message": "Hello, FastAPI!"} 위 코드를 main.py에 저장 후 아래 명령어로 실행한다.uvicorn main:app --reload 브라..