Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 11 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,19 @@ NestJS Infrastructure-first toolkit
- Microservices Registry
- External Renderer

## Development
## Why this repo exists

This repo uses [Yarn 4](https://yarnpkg.com/) and [ESM](https://nodejs.org/api/esm.html).
- NestJS does not provide built-in modules for gRPC, Kafka, authentication systems,
API gateways, or search engines
- In production, this usually turns into custom glue code
and repeated infrastructure logic copied across services

### Build

```bash
yarn workspaces run build
```

## Why

- opinionated infra
- consistent error model
- zero glue code between services
- production-first defaults
This repository provides infrastructure-level modules for NestJS
that cover these concerns out of the box
and remove the need to reimplement the same infra in every project.

## 🚀 Examples

- [`grpc-http-proxy`](examples/grpc-http-proxy) - Echo HTTP proxy for gRPC services example.
- [`grpc-playground`](examples/grpc-playground) - gRPC Playground integration example.
- [`grpc-reflection`](examples/grpc-reflection) - gRPC Server Reflection usage example.
- [`grpc-http-proxy`](examples/grpc-http-proxy) - Echo HTTP proxy for gRPC services example
- [`grpc-playground`](examples/grpc-playground) - gRPC Playground integration example
- [`grpc-reflection`](examples/grpc-reflection) - gRPC Server Reflection usage example
26 changes: 9 additions & 17 deletions README_RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,17 @@ NestJS Infrastructure-first toolkit
- Microservices Registry
- External Renderer

## Разработка

Этот репозиторий использует [Yarn 4](https://yarnpkg.com/) и [ESM](https://nodejs.org/api/esm.html).

### Сборка

```bash
yarn workspaces run build
```

## Почему это удобно

- Мнение об инфраструктуре уже сформировано
- Согласованная модель ошибок
- Отсутствие "склеивающего" кода между сервисами
- Настройки, ориентированные на продакшн
- NestJS не даёт готовых модулей для работы с gRPC, Kafka, системами аутентификации, API-шлюзами и поисковыми движками
- В продакшене это быстро превращается в набор самописных решений и постоянный перенос одной и той же инфраструктурной логики между сервисами.

Этот репозиторий — набор инфраструктурных модулей для NestJS,
которые закрывают эти задачи из коробки
и позволяют не собирать одну и ту же инфру руками в каждом проекте.

## 🚀 Примеры

- [`grpc-http-proxy`](examples/grpc-http-proxy) - пример HTTP-прокси для gRPC-сервисов.
- [`grpc-playground`](examples/grpc-playground) - пример использования gRPC Playground.
- [`grpc-reflection`](examples/grpc-reflection) - пример использования gRPC Server Reflection.
- [`grpc-http-proxy`](examples/grpc-http-proxy) - пример HTTP-прокси для gRPC-сервисов
- [`grpc-playground`](examples/grpc-playground) - пример использования gRPC Playground
- [`grpc-reflection`](examples/grpc-reflection) - пример использования gRPC Server Reflection
Loading