# pvarentsov/typescript-clean-architecture

It is my attempt to create Clean Architecture based application in TypeScript.

Repository: https://github.com/pvarentsov/typescript-clean-architecture
Canonical: https://ross.abutalabs.com/products/typescript-clean-architecture
Language: TypeScript
License: MIT
License Family: permissive
Topics: clean-architecture, typescript, nestjs, nodejs, back-end, typeorm, clean-code, unit-testing, e2e-testing
Last push: 2023-09-17T19:30:04+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2248, "days_push": 1081, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1502, forks 181 (observed 2026-08-28T04:04:54.482610+00:00)

## What it is
A reference implementation of Clean Architecture in TypeScript, built as a fictional blogging application (IPoster) using NestJS and TypeORM. It serves as an educational template demonstrating layered architecture, unit testing, and e2e testing practices.

## Use cases
- learn clean architecture in typescript
- example nestjs project structure
- typescript backend boilerplate with typeorm
- how to structure domain layer in nodejs
- reference app for unit and e2e testing in nestjs
- starting point for a clean architecture rest api

## When to choose
- you want a well-structured NestJS + TypeORM example following Clean Architecture principles
- you are learning how to separate domain, application, and infrastructure layers in TypeScript
- you need a tested reference backend to model your own project on

## When to avoid
- you need a production-ready framework or library rather than an educational example
- your stack is not Node.js/TypeScript
- you need a minimal scaffold without opinionated architectural patterns

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: web-framework, orm, testing, e2e-testing, api-framework
- domain: web-development, backend, developer-tools, tutorials
- platform: -
- tags: clean-architecture, nestjs, typeorm, boilerplate, example-app, domain-driven-design, sample-project, nodejs, typescript, docker

## Member repositories
- pvarentsov/typescript-clean-architecture (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:54.482610+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:54.507053+00:00, confidence not recorded.
  - readme: https://github.com/pvarentsov/typescript-clean-architecture (fetched 2026-08-28T04:04:54.482610+00:00, sha 09b8ae445fb2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
