- Client send message to Manager
- Manager answer to Client via telegram
- Client recieve messages via websocket
-
Clone the repository:
git clone https://github.com/pelkoa-glitch/fastapi-chat.git
-
Install all required packages in
Requirements
section. -
Rename and fill the file
.env.example
with your dependencies -
Run command
cd fastapi-chat - go to project folder poetry install - install dependencies poetry shell - activate python venv make all - run all containers
-
Api docs on http://localhost:8000/api/docs
make app
- up app containermake app-logs
- follow the logs in app containermake app-down
- down app containermake shell
- open command line in app's containermake all
- up all containersmake all-down
- down all containersmake purge
- down all ciontainers and delete all volumesmake test
- run tests in app container
- Make shure, after FastAPI service is running, to up Telegram service. '''https://github.com/pelkoa-glitch/support-glitch-bot'''