# Nestjs Typescript Starter

> Official NestJS starter with modular architecture and Jest testing.

- Skill: `majiayu000/nestjs-typescript-starter` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/nestjs-typescript-starter`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/nestjs-typescript-starter/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/nestjs-typescript-starter

---


# 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

```bash
git clone --depth 1 https://github.com/nestjs/typescript-starter.git .
```

If the directory is not empty:

```bash
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)

```bash
rm -rf .git
git init
```

### 3. Install Dependencies

```bash
npm install
```

## Build

```bash
npm run build
```

## Development

```bash
npm run start:dev
```

