This project is a demo implementation of "Clean architecture" in Python.
- Install
pip install -e .
- Run bot preview
aiogram-dialog-preview deseos17.main.bot:get_dispatcher_preview
- Provide env variables:
BOT_TOKEN
- your telegram bot tokenJWT_SECRET
- some secret long string to work with JWT tokensLOGIN_URL
- url in formathttps://yourdomain/login
which is set in your telegram bot for auth widget
- Run fastapi
uvicorn deseos17.main.web:app
- Run bot
python -m deseos17.main.bot