diff --git a/DEV-NOTES.md b/DEV-NOTES.md index f14ad0f..04d3c67 100644 --- a/DEV-NOTES.md +++ b/DEV-NOTES.md @@ -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 - `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 - -# Configuring the project - -We store code in a .ts file cuz it's working just fine