fictadvisor / fictadvisor-bot

Telegram bot for fictadvisor.com
11 stars 0 forks source link

Create base structure of bot #27

Closed Kulunchick closed 1 year ago

Kulunchick commented 1 year ago

Need to create a basic structure of bot

Dependencies:

  1. FastAPI = ^0.95.0
  2. Aiogram = ^3.0.0b7
  3. Pydantic = ^1.10.6
  4. Loguru = ^0.6.0

File structure

├── README.md
├── app
|   └── bot
|   |   ├── handlers # bot handlers
|   |   |   └── debug.py # debug handler
|   |   └── factory.py # bot factory
|   └── api
|   |   ├── routes # api routes
|   |   |   └── webhook.py # bot webhook
|   |   ├── stubs.py # api depebdencies
|   |   └── factory.py # api factory
|   ├── settings.py # config
|   ├── custom_logging.py # custom logging class
|   └── main.py 
├── .env # environment variables
├── pyproject.toml # project dependencies
└── poetry.lock