Node.js framework NestJS project for performance
If you focus on the performance or features of the module, you can consider using another module as an alternative in NestJS. \ In this example, the changed modules are as follows.
ExpressTypeORMTypeScript compilerJestCommonJS.env file.env to fix it.default, development, production, test# 1. node_modules
npm ci
# 2. When synchronize database from existing entities
npm run entity:sync
# 2-1. When import entities from an existing database
npm run entity:load
npm run start:dev
npm test # exclude e2e
npm run test:e2e # only e2e
# define NODE_ENV and PORT
npm run build
# NODE_ENV=production PORT=8000 node dist/app.js
node dist/app.js
# https://docs.nestjs.com/openapi/cli-plugin#swc-builder
# Update the metadata before running the swagger server.
npm run esm bin/generate-metadata.ts
# API, Swagger - src/swagger.ts
npm run doc:api #> http://localhost:8000/api
$ claude mcp add nestjs-project-performance \
-- python -m otcore.mcp_server <graph>