Skip to content

Instantly share code, notes, and snippets.

View aaabramov's full-sized avatar
👨‍💻
Focusing

Andrii Abramov aaabramov

👨‍💻
Focusing
View GitHub Profile
@aaabramov
aaabramov / 01_core.md
Last active May 23, 2023 15:35
Typical NestJS app dependecies

Generate new service

See First steps in NestJS

nest new <service_name>

Most of the services need these dependencies:

@aaabramov
aaabramov / abbreviations.md
Last active January 17, 2022 10:50
Popular abbreviations used in IT world.
Abbreviation Spelling Explanation
ASAP As soon as possible
AFAIK As far as I know used when you believe that something is true, but you are not completely certain
AFAIR As far as I remember
# See https://telegra.ph/Gratus-Bot-06-24
CREATE TABLE "data_entity"
(
"id" BIGSERIAL NOT NULL PRIMARY KEY,
"userId" BIGINT NOT NULL,
"chatId" BIGINT NOT NULL,
"createdAt" TIMESTAMPTZ NOT NULL DEFAULT NOW()
);
CREATE INDEX idx_data_entity_userId_chatId ON "data_entity" ("userId", "chatId");
@aaabramov
aaabramov / README.md
Created June 29, 2022 13:06
Bootstrap TypeScript npm project

Init project:

npm init

Install typescript & @types

npm install --save-dev \