Dev notes updated

This commit is contained in:
Dmitry Anderson 2024-10-19 12:31:17 +02:00
parent a068d10faa
commit 2e051088b3

View File

@ -1,12 +1,13 @@
# Project dependencies ## Project dependencies
- `grammyX` Telegram JS/TS/Deno library
- `kysel` Helps with migrations and query building
- `node:pg` Library used by kysely by default
# Structure ## Structure
- `bot` -- the bot code itself - `bot` -- the bot code itself
- `cfg` -- everything configuration related - `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 - `external` -- eveything responsible for communication with an external network interfaces/devices
- `migrations` -- DB migrations
- `repo` -- everything storage related (including external databases, caches, CDNs) - `repo` -- everything storage related (including external databases, caches, CDNs)
- `utils` -- everything else - `utils` -- everything else
# Configuring the project
We store code in a .ts file cuz it's working just fine