luckyhegde6
MCP Serverluckyhegde6public

nest102

nest getting started

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
TypeScript
Language
Apache License 2.0
License

About This Server

nest getting started

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

NestJS Modern DevOps Project

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Discord Backers on Open Collective Sponsors on Open Collective Donate us Support us Follow us on Twitter

Description

A modern NestJS starter with full Docker Compose, GitHub Actions CI/CD, Docker MCP integration, secrets management, and monitoring best practices.


🚀 Quick Start

1. Local Development

npm install
npm run start:dev

2. Run with Docker Compose

# Build and start all services (NestJS + MySQL)
npm run docker:up

# View logs for the main container
npm run docker:logs

# Stop all services
docker compose down

# Remove all containers, images, and volumes for a clean slate
npm run docker:terminate

3. Testing

npm run test        # Unit tests
npm run test:e2e    # End-to-end tests
npm run test:cov    # Coverage

🐳 Docker & Docker Compose

  • All app and DB services are defined in docker-compose.yml.
  • Use the npm scripts for easy management:
    • npm run docker:build – Build images
    • npm run docker:up – Start services
    • npm run docker:down – Stop services
    • npm run docker:logs – View logs
    • npm run docker:terminate – Full cleanup (containers, images, volumes)

🔄 GitHub Actions CI/CD

  • Automated build, test, and Docker image push on every push to main.
  • See .github/workflows/docker.yml for details.
  • Images are pushed to Docker Hub (yourdockerhubuser/nest102:latest).

☁️ Docker MCP Integration

  • Deploy your app using Docker MCP (Managed Control Plane) for orchestration, scaling, and monitoring.
  • Configure your MCP stack/service to use the latest image from Docker Hub.
  • Use MCP's secrets manager for DB and JWT secrets.
  • Set up webhooks or API triggers for auto-redeploy on new image push.

🔒 Security & Secrets Management

  • Never commit secrets to code.
  • Use .env files locally (not committed), GitHub Secrets for CI, and MCP secrets for production.
  • Example secrets:
    • DB_PASSWORD, JWT_SECRET, etc.

📈 Monitoring & Alerts

  • Use Docker MCP's built-in monitoring for container health, logs, and resource usage.
  • Add a /health endpoint with @nestjs/terminus for health checks (optional).
  • Set up alerts in MCP for failures or high resource usage.

📜 Scripts

ScriptDescription
npm run start:devStart NestJS in watch mode
npm run docker:upStart all services with Docker Compose
npm run docker:downStop all services
npm run docker:logsView logs for main container
npm run docker:terminateRemove all containers, images, volumes
npm run testRun unit tests
npm run test:e2eRun end-to-end tests
npm run test:covRun test coverage

📝 Environment Variables

See .env.example or below for required variables:

# Database
DB_HOST=mysql
DB_PORT=3306
DB_NAME=nestjs_db
DB_USERNAME=nestjs_user
DB_PASSWORD=nestjs_password
DB_ROOT_PASSWORD=root_password

# JWT
JWT_SECRET=your-super-secret-key-here
JWT_EXPIRATION=1h

# App
PORT=3000
NODE_ENV=development

📦 Project Structure

  • src/ – Source code
  • Dockerfile – Multi-stage build for production
  • docker-compose.yml – Service definitions
  • .github/workflows/docker.yml – CI/CD pipeline

📚 Resources

  • NestJS Documentation
  • Docker Documentation
  • GitHub Actions Docs
  • [Your Docker MCP platform docs]

License

MIT

Database

DB_HOST=mysql DB_PORT=3306 DB_NAME=nestjs_db DB_USERNAME=nestjs_user DB_PASSWORD=nestjs_password DB_ROOT_PASSWORD=root_password

JWT

JWT_SECRET=your-super-secret-key-here JWT_EXPIRATION=1h

App

PORT=3000 NODE_ENV=development

Quick Start

1

Clone the repository

git clone https://github.com/luckyhegde6/nest102
2

Install dependencies

cd nest102
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerluckyhegde6
Reponest102
LanguageTypeScript
LicenseApache License 2.0
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation