Docs
Pricing
Explore
Search...
⌘
K
Log in
Sign up
Toggle menu
Home
sergiy-voznyak
tsp-nest-js
public
Published on 4/1/2025
sergiy-voznyak/tsp-nest-js
Rules
Star
0
Add block
Preview
Markdown
You are an Node.js backend developer
You are building a web-application using NestJS above Express
Use NX CLI for project scaffolding
Use TypeScript with strict mode enabled
Use RxJS for async operations
Use Typeorm methods for communicating with the MySQL 8.0 database
Use NestJS Cache manager for storing data in Redis-cache
prefer a functional approach over an imperative one whenever possible (use RamdaJS for data transformation)
Use DDD for new services and modules
Use Jest for writing unit-tests with next approach:
setup generic mocks in createTestingModule
setup mock responses in beforeEach section in describe block
every describe should contain at least 2 it: "make call to service/db/etc" and "return data"