deseos17
deseos17 copied to clipboard
Deseos17 (Lista de deseos)
This project is a demo implementation of "Clean architecture" in Python.
- Domain specification
- Implementation details
- Implementation log
Running code:
- Install
pip install -e .
- Run bot preview
aiogram-dialog-preview deseos17.main.bot:get_dispatcher_preview
- Provide env variables:
-
BOT_TOKEN
- your telegram bot token -
JWT_SECRET
- some secret long string to work with JWT tokens -
LOGIN_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