/aiogram-and-sqlalchemy-demo

A simple demo of using aiogram + async sqlalchemy 1.4+

Primary LanguagePythonMIT LicenseMIT

aiogram-and-sqlalchemy-demo

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

screenshot

Used tech:

  • aiogram
  • SQLAlchemy 1.4+
  • PostgreSQL as database
  • asyncpg 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