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
- Host: GitHub
- URL: https://github.com/exposedcat/ts-tg-bot
- Owner: ExposedCat
- Created: 2022-08-15T12:14:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-29T15:09:52.000Z (about 1 year ago)
- Last Synced: 2025-03-31T08:21:15.512Z (10 months ago)
- Topics: grammyjs, mongodb, telegram-bot, telegram-bot-api, template-project, typescript
- Language: TypeScript
- Homepage:
- Size: 126 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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