Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 750 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 750 Bytes

Deseos17 (Lista de deseos)

This project is a demo implementation of "Clean architecture" in Python.

Running code:

  1. Install
pip install -e .
  1. Run bot preview
aiogram-dialog-preview deseos17.main.bot:get_dispatcher_preview
  1. Provide env variables:
  • BOT_TOKEN - your telegram bot token
  • JWT_SECRET - some secret long string to work with JWT tokens
  • LOGIN_URL - url in format https://yourdomain/login which is set in your telegram bot for auth widget
  1. Run fastapi
uvicorn deseos17.main.web:app
  1. Run bot
python -m deseos17.main.bot