/clean_architecture-express-ts

App resource for learn Clean Architecture with Typescript and Express. This project is using jest and supertest con testing purposes.

Primary LanguageTypeScript

Project Structure

image

Layers

Presentation

The presentation layer would mainly be used for inputting and outputting user data (API routes).

Domain

The inner core (domain) layer holds all business logic (use cases, repositories).

Data

The data layer holds all infrastructure implementations (data sources).

How to run the app

Build

npm run dev:build

Run

npm run dev:serve