- Client : Streamlit
- Server : fastAPI
Set-up your python development environment
(This template used python 3.10.12)
$ pip install -r requirements.txt
- Connect Client Server
You can now view your client in your browser
$ cd client && streamlit run app.pylocalhost:8502 - Connect fastAPI Server
You can now view your server in your browser
$ uvicorn server.main.pylocalhost:8000 - Server Docs (=Swagger)
You can now view your swagger in your browser
$ uvicorn server.main.pylocalhost:8000/docs - Disconnect Server
- Window OS & MacOS Shorcut :
Ctrl + C
$ ^C Stopping... - Window OS & MacOS Shorcut :
.
├── LICENSE
├── READNE.md
├── client
│ └── app.py # frontend 실행파일
├── requirements.txt # dependency 관리
└── server
├── __init__.py
├── main.py # backend 실행파일
├── router # 외부 API 혹은 기타 연결
│ ├── __init__.py
│ └── auth.py
└── utils # 기능별 모듈
├── __init__.py
└── chat.py