Skip to main content

Commands Reference

This document provides comprehensive command examples for development, testing, and deployment.

NPM Commands​

Development​

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

# Run tests
npm test

# Run linting
npm run lint

Testing​

# Run all tests
npm test

# Run with coverage
npm run test:coverage

# Watch mode
npm run test:watch

Quality Assurance​

# Lint code
npm run lint

# Fix linting issues
npm run lint:fix

# Type checking
npm run type-check

# Format code
npm run format

CLI Commands​

Deployment Commands​

# Build for production
npm run build

# Start production server
npm start

# Health check
curl http://localhost:8080/health