mic-bot/DEV-NOTES.md

14 lines
622 B
Markdown

## Project dependencies
- `grammyX` Telegram JS/TS/Deno library
- `kysel` Helps with migrations and query building
- `node:pg` Library used by kysely by default
## Structure
- `bot` -- the bot code itself
- `cfg` -- everything configuration related
- `core` -- core or domain. Contains entity and logics, responsible for the access management, also containes core entities
- `external` -- eveything responsible for communication with an external network interfaces/devices
- `migrations` -- DB migrations
- `repo` -- everything storage related (including external databases, caches, CDNs)
- `utils` -- everything else