Comprehensive Configuration, Documentation, and Code Structure Enhancements for NestJS Starter Kit #81
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes across multiple files to improve configuration, documentation, and dependencies in the NestJS starter kit. The most important changes include updating the
README.md
for better clarity, restructuring theexample.env
file, and adding new dependencies inpackage.json
.Base project src struct to modular pattern
Documentation and Configuration Updates:
README.md
: Improved instructions for setting up the project, generating RSA key pairs, and running the application. Updated project structure and configuration details. [1] [2] [3].vscode/settings.json
: Added configuration to ignore certain files in the file tree.example.env
: Restructured and added detailed comments for environment variables.Dependency and Build System Updates:
package.json
: Added new dependenciesmongoose-autopopulate
,@swc/cli
, and@swc/core
. Addedengines
field to specify the required Node.js version. [1] [2] [3]nest-cli.json
: Updated compiler options to use SWC for faster builds and added plugins for Swagger integration.Codebase Cleanup:
src/app.config.ts
: Removed the file as part of the cleanup.src/app.controller.spec.ts
: Removed the file as part of the cleanup.src/app.controller.ts
: Removed the file as part of the cleanup.This pull request includes significant updates to thenestjs-starter-kit
project, focusing on configuration, documentation, and code structure improvements. The most important changes include updates to theREADME.md
, restructuring of theexample.env
file, and enhancements to thenest-cli.json
andpackage.json
files.Documentation and Configuration Updates:
README.md: Improved instructions for setting up the project, including more detailed steps for generating RSA key pairs and running the application. Also, the project structure section has been updated for better clarity. [1] [2] [3]
example.env: Restructured the environment variables for better organization and clarity, grouping them into sections like application, API, infra, database, authentication, and Swagger configuration.
Codebase Enhancements:
nest-cli.json: Added SWC (Speedy Web Compiler) as the builder and enabled type checking. Also, included the NestJS Swagger plugin for better API documentation.
package.json: Added new dependencies like
mongoose-autopopulate
,@swc/cli
, and@swc/core
. Also, specified the minimum Node.js version required. [1] [2] [3]Code Cleanup:
src/app.config.ts
,src/app.controller.spec.ts
, andsrc/app.controller.ts
files, as they were no longer needed in the updated project structure. [1] [2] [3]Development Environment: