/hexagonal-example

A simple exemple using Hexagonal Architecture and Typescript

Primary LanguageTypeScript

Hexagonal Architecture Example

alt text

This an example using Hexagonal Architecture using Typescript and NodeJS.

It's used Express, Fastify and TypeORM on the edge layer.

Is recommended to have the Docker and Docker-Compose installed.

Run

Before all if you have Docker and Docker-Compose you may run:

docker-compose up -d

Install all dependencies

npm i

To run using Express

npm run start:express

To run using Fastify

npm run start:fastify

Test

To run the tests

npm run test