MasterGroosha / aiogram-and-sqlalchemy-demo

A simple demo using aiogram, psycopg3 and SQLAlchemy 2.x

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aiogram-and-sqlalchemy-demo

A simple demo of using aiogram 3.x + async sqlalchemy 2.0+, made as a pop-it game where you need to click green circles and avoid red ones.

screenshot

Used tech:

  • aiogram 3.x
  • SQLAlchemy 2.0+
  • PostgreSQL as database
  • psycopg3 as database driver for SQLAlchemy
  • Docker with docker-compose for deployment

Don't forget to create "postgres_data" (required) and "pgadmin_data" (if using PG Admin) directories before you run docker-compose up -d

Also copy env_dist file to .env and fill it with your data

About

A simple demo using aiogram, psycopg3 and SQLAlchemy 2.x

License:MIT License


Languages

Language:Python 92.5%Language:Mako 4.1%Language:Dockerfile 3.5%