https://github.com/guilhermegarcia86/hexagonal-example
A simple exemple using Hexagonal Architecture and Typescript
https://github.com/guilhermegarcia86/hexagonal-example
express fastify hexagonal-architecture nodejs typeorm typescript
Last synced: 3 months ago
JSON representation
A simple exemple using Hexagonal Architecture and Typescript
- Host: GitHub
- URL: https://github.com/guilhermegarcia86/hexagonal-example
- Owner: guilhermegarcia86
- Created: 2022-03-18T21:56:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-10T21:14:31.000Z (about 4 years ago)
- Last Synced: 2023-03-02T14:26:29.124Z (over 3 years ago)
- Topics: express, fastify, hexagonal-architecture, nodejs, typeorm, typescript
- Language: TypeScript
- Homepage:
- Size: 151 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hexagonal Architecture Example

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:
```bash
docker-compose up -d
```
Install all dependencies
```bash
npm i
```
To run using Express
```bash
npm run start:express
```
To run using Fastify
```bash
npm run start:fastify
```
## Test
To run the tests
```bash
npm run test
```