This repository serves as a skeleton for a Node.js project using TypeScript, implementing Hexagonal Architecture and Domain-Driven Design (DDD).
- Node.js >= 18.20.7
- npm >= 10.8.2
-
Clone the repository:
git clone https://github.com/charlitoro/node-typescript-ddd-skeleton.git cd node-typescript-ddd-skeleton -
Install dependencies:
npm install
To start the development server, run:
npm run dev:mooc:backendopen http//localhost:5000/status to view the status of the server.
To run the tests, run:
npm run testTo run unit tests, run:
npm run test:unitTo run feature tests, run:
npm run test:feature