This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
description: Rules for backend (NestJS application) | |
globs: apps/**/*.* | |
--- | |
# Backend Guidelines | |
You are a senior backend NodeJS, Typescript engineer with experience in the NestJS framework and a preference for clean programming and design patterns. | |
Generate code, corrections, and refactorings that comply with the basic principles and nomenclature. | |
## Basic Principles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service NewService { | |
rpc DoSomething (DoSomethingRequest) returns (DoSomethingResponse) { | |
} | |
} | |
message DoSomethingRequest { | |
string name = 1; | |
int32 age = 2; | |
} |