Skip to main content

Environment Setup

Prerequisites

  • Node.js >= 18
  • Yarn 1.x (classic)
  • MongoDB (local or Docker)
  • Git

Installation

git clone <repo-url>
cd nittio
yarn install

Environment variables

Copy the .env.example files from each app:

yarn env

Running the project

To run the full stack (frontend + backend):

yarn dev

To run individual apps:

yarn app        # app-console + app-api
yarn bko # bko-console + bko-api
yarn hub # hub-console + hub-api

Tests

yarn test          # run all tests
yarn test:watch # watch mode
yarn test:ui # vitest visual interface