{"repo":"sibeardev/webapp_telegram_fastapi","free":true,"listed":false,"github":"https://github.com/sibeardev/webapp_telegram_fastapi","clone":"git clone https://github.com/sibeardev/webapp_telegram_fastapi.git","description":"This project provides a full-stack web application skeleton for constructing a Telegram bot with FastAPI and Python Telegram Bot, featuring MongoDB integration as the database backend and a SvelteKit frontend built as a Telegram WebApp for seamless user interaction.","language":"Python","stars":11,"topics":["fastapi","mongodb","python-telegram-bot","uvicorn","python","sveltekit","rabbitmq"],"license":"MIT","category":"databases-storage","readme_excerpt":"WebApp Telegram FastAPI Overview This project is a full-stack web application skeleton for building a Telegram WebApp integrated with a FastAPI backend and MongoDB database. It includes a SvelteKit frontend that runs as a Telegram WebApp and interacts with the backend via REST API. Features Backend - FastAPI Framework – High-performance Python web framework. - Python Telegram Bot – Integration with the Telegram Bot API. - MongoDB Database – Stores user and session data. - RabbitMQ – Message broker for handling background tasks and managing message queues. - JWT Authentication – Used for secure user authorization. - Async Webhooks – Supports webhook integration for Telegram. Frontend - SvelteKit – Modern reactive framework for building single-page apps. - Telegram WebApp SDK (@twa-dev/sdk) – Integration with Telegram’s native UI. - Dynamic Theming – Adapts automatically to Telegram’s light/dark theme. - TailwindCSS – Utility-first CSS framework for consistent UI. - REST API Integration – Communicates with FastAPI backend via /api/\\ routes. Usage 1. Clone the repository: 2. Environment Setup Create .env in backend/ directory: Note: For testing purposes, you can use ngrok to expose your local server to the internet. After installing ngrok, run ngrok http 8000 in a separate terminal window. Then, insert the ngrok URL generated for your server as the value for the EXTERNAL URL variable in your .env file. 3. Running with Docker This will: - Build the SvelteKit frontend (Node.js 20)","default_branch":null,"files":null,"tree":[],"storefront":"/r/sibeardev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sibeardev/webapp_telegram_fastapi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}