Full Stack Telegram Bot from Scratch(Python + PSQL + Heroku)

How to build and deploy complete telegram bot with connected database

4.55 (72 reviews)
Udemy
platform
English
language
Other
category
400
students
2.5 hours
content
Jul 2023
last update
$49.99
regular price

What you will learn

create telegram bot from scratch

build and connect Postgres Database to the application

deploy the application to Heroku and make it accessible for all telegram users

learn basic functionality of Heroku

improve Python knowledge

get knowledge of Telegram Bot API

Description

Welcome to the course!

In this course you will:

  • create your own Telegram bot from scratch

  • build PSQL database and write all basic SQL queries

  • deploy Python application to the Heroku server and work with its features

It's designed for anyone who wants to learn how to build your first custom telegram bot with a connected database and deployment to the popular web server.

I'll take you step-by-step through engaging video tutorials and teach you everything you need to know to succeed.

The course includes 2 hours of HD video tutorials with clear captions and builds your programming knowledge while making real and functional bot.

Throughout this course, we cover a massive amount of tools and technologies, including:

  • Python 3 - the latest version of Python

  • Python multithreading topic

  • PyCharm

  • Telegram API

  • python-telegram-bot, and psycopg2 python modules

  • Database PostgreSQL

  • Git, GitHub and Version Control

  • Deployment and Heroku

  • and much more!

By the end of this course, you will be programming in Python completely your own and custom bot! It will be able to store any information you want in a dedicated database! And it will be available for any Telegram user!

Telegram is the way of the future, accordingly, why not build a useful bot which will make someone's life easier!
So what are you waiting for?

Content

Create and configure a bot. Make it respond.

Introduction
What is telegram bot?
Create bot via BotFather
Set up PyCharm. Install python-telegram-bot module
Code first lines. Make bot to respond

Basic functionality of the bot. Background task for monitoring.

Define the goals. Extract token to the environment variable.
Add reply keyboard with "Add reminder" button.
Create conversation handler. Add reminder and enter message handlers
Enter time handler. Store reminders in memory.
What're threads?
Background task. Fire reminders when time comes.

Connect Postgres database

PostgreSQL statements
Set up Postgres. Create database and user
Implement DataSource class which will work with DB
Refactor ReminderData class
Apply required changes to main.py
Test the bot, check the data in DB

Deploy to Heroku

What is deployment and Heroku?
Configure GitHub. Push all changes to remote
Create Heroku app. Add configuration files.
Set up Postgres add-on on Heroku
Make bot work on the server
Heroku Logs + Dataclips
Finish course. How to improve bot?

Screenshots

Full Stack Telegram Bot from Scratch(Python + PSQL + Heroku) - Screenshot_01Full Stack Telegram Bot from Scratch(Python + PSQL + Heroku) - Screenshot_02Full Stack Telegram Bot from Scratch(Python + PSQL + Heroku) - Screenshot_03Full Stack Telegram Bot from Scratch(Python + PSQL + Heroku) - Screenshot_04

Reviews

Андрей
December 18, 2022
Course is stale, python libraries used in this course were completlely changed as well as heroku interface
Greg
October 17, 2022
I'm an experienced developer so course content was clear to me. Thanks for the course. I mark the course w/ 4 stars because Telegram Bot API was significantly updated (e.g. web apps support) but course content is not. Considering to upvote the course to 5 star rating if the content will be up to date with the current state of Telegram Bot API.
Jorge
September 17, 2022
Excelente curso. Al principio dudé si tenía la profundidad necesaria, pero en realidad es excelente, cubre todo lo necesario para poder implementar un bot en Telegram con conexión a base de datos y desplegarlo a los usuarios finales con Heroku y webhooks.
Qihao
May 21, 2022
many of the steps would be confusing if really learn from scratch, some function and usage is passed, you could do it better , btw thanks a lot for the explanation
Ben
May 3, 2022
The course contains everything what I needed! Have created telegram bot for my university project without any problems :) Thanks!
Yevhenii
May 1, 2022
Dmytro, thank you for your time, I suggest you correct a description to course (and tell people that it is not for all levels) or make the course more clear. You just copy/paste code and not even explain what methods of libraries do you use, why do you use it but not the others, how the Telegram API works and so on. I believe you can make it more understandable.
Chris
February 19, 2022
Love it. Well done. After building my own bot, I would suggest to replace chat_id INT NOT with chat_id BIGINT NOT I saved telegram ids into the data base and the telegram id can be larger than INT, which will result in failure.
Martin
February 5, 2022
Perfect example of a working simple bot application with Logic, Data Storage and Cloud service to reach the app from anyone. There is implemented pooling and webhook. Don't mind if the relator seems a bot itself ?, the course is well explained and easy to follow. Thanks Dmytro!
Larry
December 28, 2021
Really useful course, have managed to complete all steps, create and deploy telegram bot :) Thanks to the teacher!
WenTing
December 23, 2021
If you are gonna skip typing of code, I would prefer to download the source code to follow up with the video. Also when working with CMD, I had to google why CMD dont recognise the command, its due to enviroment. Would be good if you provide tut on setting enviroment PATH. Last but not least, thank you very much for the course!
Александр
October 25, 2021
The course is well designed, actually it's described everything what is need for implementation and launching the bot
Andrew
July 9, 2021
The instructor has explained everything which I've looked for creation of my bot. The course includes completely full set of required data without smth unnecessary
Sophia
July 1, 2021
This course is the exact match which I've looked for. Now I understand how to create and deploy telegram bot and I'm in the progress of creating my own bot now.
Mark
June 30, 2021
I really like this course because thanks to it I've created my own telegram bot! Also the course has good structure and includes only needed information

Charts

Price

Full Stack Telegram Bot from Scratch(Python + PSQL + Heroku) - Price chart

Rating

Full Stack Telegram Bot from Scratch(Python + PSQL + Heroku) - Ratings chart

Enrollment distribution

Full Stack Telegram Bot from Scratch(Python + PSQL + Heroku) - Distribution chart

Related Topics

4088526
udemy ID
5/30/2021
course created date
7/1/2021
course indexed date
Bot
course submited by