Skip to content

Tishka17/deseos17

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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