Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/asdil1/todolist_tg_bot
- Owner: asdil1
- Created: 2024-05-03T16:05:35.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-05-04T15:30:39.000Z (9 months ago)
- Last Synced: 2024-11-23T10:27:06.108Z (2 months ago)
- Topics: aiogram, asyncio, postgresql, psycopg2, python3
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```