nestjs-typescript-starter

Eng0AI 的头像作者 Eng0AI

带有模块化架构和Jest测试的官方NestJS入门项目。

📖 中文导读:带有模块化架构和Jest测试的官方NestJS入门项目。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: nestjs-typescript-starter description: Official NestJS starter with modular architecture and Jest testing.

NestJS TypeScript Starter

The official NestJS starter with modular architecture and testing.

Tech Stack

  • Framework: NestJS
  • Language: TypeScript
  • Testing: Jest
  • Package Manager: npm

Setup

1. Clone the Template

git clone --depth 1 https://github.com/nestjs/typescript-starter.git .

If the directory is not empty:

git clone --depth 1 https://github.com/nestjs/typescript-starter.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template

2. Remove Git History (Optional)

rm -rf .git
git init

3. Install Dependencies

npm install

Build

npm run build

Development

npm run start:dev