/gentleman-backend-challenge

Gentleman Backend Challenge - Hexagonal Architecture with NodeJS and Typescript

Primary LanguageTypeScript

Gentleman Backend Challenge - Hexagonal Architecture with NodeJS and Typescript

Node server with Typescript, pnpm, Jest, and Hexagonal Architecture

Testing

  • Unit and Integration tests are located inside "__tests__" inside tests folder.

  • E2E testing are located inside "thunder-tests/" folder.

Commands

Install

To install the project:

  • Run pnpm command:
pnpm i

Build

To build the project:

  • Run pnpm command:
pnpm run build

Run

To run the project:

  • Key shortcut: command + shift + b
  • Run pnpm command:
pnpm run start:hr:dev

Test

To run jest tests:

  • Key shortcut: alt + shift + t
  • Run pnpm command:
pnpm run test