Initialize NestJS project with essential configuration files and structure
- Added .env.example for application timezone configuration. - Created .gitignore to exclude unnecessary files and directories. - Introduced Prettier configuration in .prettierrc for code formatting. - Set up ESLint configuration in eslint.config.mjs for code quality checks. - Added nest-cli.json for NestJS project settings. - Created package.json with project dependencies and scripts for building, testing, and running the application. - Generated pnpm-lock.yaml for package management. - Added README.md with project description and setup instructions. - Created initial application structure with AppModule, AppController, and AppService. - Implemented basic unit and e2e tests for the application.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { Injectable } from '@nestjs/common';
|
||||
|
||||
@Injectable()
|
||||
export class AppService {
|
||||
getHello(): string {
|
||||
return 'Hello World!';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user