Use the following naming conventions
PascalCase
for class names.camelCase
for variable and function names.dot.notation
for file names.permission.guard.ts
(with the parent folder named guards
) or user.schema.ts
are exemplary file names. This convention simplifies file search and immediately clarifies the file’s content.
Example: