
Learn to build a Python and Django back end, deploy it, and create a functional Telegram bot workflow. Explore basic project setup, libraries, emails, and notifications for deploying a backend.
Demonstrate building an interactive telegram bot using django that notifies users about vaccination slots by region and age, with alert subscriptions and from-scratch setup.
Learn to install a virtual environment for a Django project, manage per-project dependencies with venv, isolate projects, activate the env, verify the Python version, and install Django.
Install and set up a virtual environment, initialize an empty Django project, apply migrations, and create a superuser to access the admin panel, laying the groundwork for app development.
Learn to create a Django app, define a model and fields, apply migrations, and connect the app to project settings as a foundation for building a Telegram bot.
Create a Django app by setting up the project from existing code, configuring a virtual environment, importing into an IDE, and running the server to view logs and workflow.
Create a config and objects file for a Django Telegram bot, establishing a directory structure, an empty __init__.py, and phased definitions for constants, entities, states, and sessions.
Learn to set up a request file in a django project, install the requests package, and perform api calls to a third‑party service to fetch and handle data.
Convert responses into structured objects by processing state and district data, then build classes to represent and manage third-party data for the Telegram bot.
Design and implement Django models for state and district, linking districts to states with a cascade foreign key and applying migrations to create and manage these records.
Recap how to build an interactive Telegram bot with Django by creating models and applying migrations, configuring third-party services, and building handlers and forms for model integration.
Explore Telegram and signup within a Django bot setup, comparing it to WhatsApp. Install the package, set up a port for requests and responses, and enable interactive Telegram bot communication.
Learn to create a Telegram bot using BotFather, generate a token, and work with a Telegram example file to start building and testing a Django bot.
Add options in the Telegram bot by implementing slash commands, handling dynamic responses, and integrating states and districts data for interactive options.
Expand the Telegram bot by adding more option handling, session availability checks, district and sector filtering, and command-driven prompts to guide users through selectable options.
Add a bot command handler in a Django-based Telegram bot, create and test a custom command, configure a scheduler, and run the bot as a service with debugging support.
Model a TelegramUser in a Django project to reinforce data structure and user indexing for an interactive Telegram bot.
Deploy your application on a server as a service, and create an account on Amazon's services to iterate across platforms.
Deploy a Django Telegram bot on AWS by creating an EC2 instance, configuring security groups, installing dependencies, running migrations, and launching the service with admin access.
Install supervisor, the Python program that controls Unix processes and keeps them running 24/7. Configure a supervised service for your bot so it restarts automatically if it crashes.
Identify essential deployment and security considerations for a Django-based Telegram bot, distinguishing hobby projects from production-ready apps for scalable deployment.
Learn to manage secrets securely by using python-decouple to read environment variables from a .env file, keeping sensitive keys out of code and configuring production and local settings.
Add code to the Git repo to continue building the project. Organize snippets and coordinate infrastructure development as you advance the Telegram bot using Django.
Build an interactive Telegram bot using Django, and add Sentry for exception handling to protect the system, upgrade services, and monitor performance.
In this course, we are going to build a Telegram bot which will interact with the Backend built with Django.
IDE we are going to use is IntelliJ IDEA.
We will write the services for Third Party.
Integrate these services to Telegram Bot.
Will add a lot of options in Telegram in order to make it useful for the end user.
We will Push the code to Github
Finally we will deploy the code on EC2.
Supervisor in to demonising the process
Integrate Sentry for Runtime exception in Projects
Use Fabfile for auto deployment on Servers.
Brief About what we are going to use.
Telegram Bot: Bots are simply Telegram accounts operated by software – not people – and they'll often have AI features. They can do anything – teach, play, search, broadcast, remind, connect, integrate with other services, or even pass commands to the Internet of Things.
The problem we are going to solve
Django :
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.
Ec2:
Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers. Amazon EC2’s simple web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon’s proven computing environment.