Skip to content

🟢 Django + Aiogram Telegram bot boilerplate with polling/webhook, Nginx, Ngrok, async DB, logging, and modular handlers.

Notifications You must be signed in to change notification settings

ummataliyev/djangogram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Djangogram ⚡️

Production-Ready Django + Aiogram Telegram Bot

A production-ready Django + Aiogram Telegram bot boilerplate.


Features

  • ✅ Polling mode (development)
  • ✅ Webhook mode (production)
  • ✅ Ngrok integration (for local webhook testing)
  • ✅ Nginx reverse proxy ready
  • ✅ Async PostgreSQL operations with Django ORM
  • ✅ Celery for background tasks & scheduling
  • ✅ Modular handler/router structure
  • ✅ Structured logging
  • ✅ Dockerized environment (PostgreSQL, Redis, Nginx)

Getting Started

1. Clone the repository

git clone git@github.com:ummataliyev/djangogram.git
cd djangogram

2. Create .env file

Create a .env file for development:

cp docker/development/.env-example docker/development/.env

Create a .env file for production:

cp docker/development/.env-example docker/production/.env

3. Check available commands

make help

About

🟢 Django + Aiogram Telegram bot boilerplate with polling/webhook, Nginx, Ngrok, async DB, logging, and modular handlers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published