Back to Projects
Fast API + Telegram bot
About This Project
AI-Powered Telegram Bot & FastAPI Backend
A streamlined backend + Telegram bot solution that empowers admins and staff to define and manage AI-driven conversations in real time. The system integrates a React UI, a FastAPI REST API, and a Telegram Bot, using the OpenAI API to generate responses.
Users can:
- Configure system prompts & GPT models via the UI
- View and manage conversations between customers and the bot
- Assign roles (admin, staff) for secure access
- Deploy everything in a single Docker container with a SQLite database
This project is a hands-on learning endeavour built with FastAPI, demonstrating JWT authentication, environment-based configuration, and role-based access control—even though it’s a pet project at heart.
Tech Stack
FastAPI
SQLAlchemy
Docker
React
Telegram Bot API
OpenAI API
JWT authentication