From 2e051088b3896fc770a3b829c959cbb7b0b738ef Mon Sep 17 00:00:00 2001 From: Dmitry Anderson <4nd3r5z0n@gmail.com> Date: Sat, 19 Oct 2024 12:31:17 +0200 Subject: [PATCH] Dev notes updated --- DEV-NOTES.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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