Question · NestJS course · Module 1: NestJS Basics
Additional: File Naming Convention
What is the file naming convention in NestJS?
Answer options
- camelCase: legionService.ts
- kebab-case with type suffix: legion.service.ts
- PascalCase: LegionService.ts
- snake_case: legion_service.ts
Show the answer
Correct answer:
- kebab-case with type suffix: legion.service.ts