Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Nestjs Todo Playground

БесплатноНе проверен

A NestJS playground for experimenting with a Todo API, MongoDB and Redis integration. Includes Docker support for easy local development and testing.

GitHubEmbed

Описание

A NestJS playground for experimenting with a Todo API, MongoDB and Redis integration. Includes Docker support for easy local development and testing.

README

A simple and extensible Todo backend playground built with NestJS, MongoDB (Mongoose), and TypeScript. This project demonstrates modular architecture, DTO validation, custom error handling, and includes ready-to-use Docker and test setups.


🚀 Features

  • Modular structure with NestJS
  • Authentication (JWT tokens)
  • MongoDB integration using Mongoose
  • User registration with unique nickname validation
  • DTO validation with class-validator
  • Custom error and exception handling
  • Ready-to-use integration tests (Jest & Supertest)
  • Docker support for easy development and deployment

⚙️ Installation

npm install

🏃‍♂️ Running the Project

$ cd docker
$ docker compose up 

🚶 Stopping the Project

$ cd docker
$ docker compose down 

🧪 Testing

test
├── api
│   ├── auth
│   │   └── sign-in.test.ts
│   └── user
│       └── create-user.test.ts
├── common
│   ├── auth.helper.ts
│   ├── db
│   │   ├── index.ts
│   │   ├── mongo.helper.ts
│   │   └── redis.helper.ts
│   ├── helper.ts
│   ├── index.ts
│   └── user.helper.ts
├── jest-e2e.json
├── test-config.ts
└── test-setup.ts

🧪 To run tests

npm run test

📬 Example API Usage

Create a user:

POST /user
Content-Type: application/json

{
  "nickname": "your_nickname",
  "fullname": "Your Name",
  "password": "your_password"
}

📁 Project Structure

  • src/ - Main application source code
  • test/ - Unit and e2e tests
  • docker/ - Docker and Docker Compose files

🤝 Contributing

Pull requests and suggestions are welcome!


📚 Resources


🪪 License

This project is for educational purposes and is currently unlicensed.

from github.com/alakkaya/nestjs-todo-playground

Установка Nestjs Todo Playground

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/alakkaya/nestjs-todo-playground

FAQ

Nestjs Todo Playground MCP бесплатный?

Да, Nestjs Todo Playground MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Nestjs Todo Playground?

Нет, Nestjs Todo Playground работает без API-ключей и переменных окружения.

Nestjs Todo Playground — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Nestjs Todo Playground в Claude Desktop, Claude Code или Cursor?

Открой Nestjs Todo Playground на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Nestjs Todo Playground with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории data