Dev notes updated
This commit is contained in:
parent
a068d10faa
commit
2e051088b3
13
DEV-NOTES.md
13
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
|
||||
|
Loading…
Reference in New Issue
Block a user