Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

NestJS Examples

This directory is reserved for NestJS TypeScript backend framework examples.

🚀 Getting Started with NestJS

NestJS is a progressive Node.js framework for building efficient and scalable server-side applications.

Quick Start

# Install NestJS CLI globally
npm i -g @nestjs/cli

# Create a new project
nest new project-name

# Navigate to project
cd project-name

# Start development server
npm run start:dev

📚 Resources

💡 Example Project Structure

project-name/
├── src/
│   ├── main.ts          # Application entry point
│   ├── app.module.ts    # Root module
│   └── app.controller.ts # Example controller
├── test/                # Test files
├── package.json
└── tsconfig.json

🔧 Common Commands

  • npm run start - Start production server
  • npm run start:dev - Start development server with watch mode
  • npm run build - Build the application
  • npm run test - Run unit tests
  • npm run test:e2e - Run end-to-end tests