A basic template for quickly starting development of backend applications for Telegram in Go.
- 🔐 Authentication via Telegram WebApp (InitData)
- 🏗️ Ready-made framework for microservice:
- HTTP API (Fiber v3)
- JWT authorization
- Middleware (RequestID, Auth)
- Working with PostgreSQL and Redis
- 🚀 Graceful shutdown support
- 📝 Logging via a custom logger
- 🧩 Clean architecture (repositories, services, handlers)
- Go 1.23+
- Fiber v3 (HTTP framework)
- PostgreSQL (data storage)
- Redis (sessions/cache)
- JWT (authentication)
- Clone the repository
- Configure
.env(see.env.example) - Run:
go run cmd/main.go
Perfect for:
- Telegram bots with WebApp
- Microservices for Telegram projects
- Quick start of a new backend project