An open API service indexing awesome lists of open source software.

https://github.com/exposedcat/ts-tg-bot

Telegram bot template in TypeScript
https://github.com/exposedcat/ts-tg-bot

grammyjs mongodb telegram-bot telegram-bot-api template-project typescript

Last synced: 8 months ago
JSON representation

Telegram bot template in TypeScript

Awesome Lists containing this project

README

          

# Telegram bot template

## Stack
- TypeScript
- grammY
- MongoDB

## Architecture
- `index.ts` - entrypoint
- `environment.d.ts` - ENV definitions
- `types` - TypeScript type definitions for the project
- `config` - configuration, preparation and initialization
- `controllers` - to add new handlers. Note: connect at `config/bot.ts`
- `helpers` - project-independent utils
- `services` - project-dependent utils