Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/asdil1/todolist_tg_bot

To Do List Telegram bot using asyncio, aiogram and PostgreSQL
https://github.com/asdil1/todolist_tg_bot

aiogram asyncio postgresql psycopg2 python3

Last synced: about 1 month ago
JSON representation

To Do List Telegram bot using asyncio, aiogram and PostgreSQL

Awesome Lists containing this project

README

        

# Getting started
## First steps
```
git clone https://github.com/lildimasta/todolist_tg_bot
pip install -r requirements.txt
```
## Configure environment variables
### Create .env file
```
vim .env
#or
nano .env
```
## In .env file
### Bot settings
```
#example
BOT_TOKEN='123232321'
```
### Database
```
#example
DATABASE_NAME='postgres'
DATABASE_USER='postgres'
DATABASE_PASSWORD='qwerty'
DATABASE_HOST='localhost'
DATABASE_PORT='5432'
```
# Run project
```
python3 -m bot
```