Skip to content
This repository was archived by the owner on Aug 7, 2026. It is now read-only.

Getting Started

kannan19302 edited this page Jul 18, 2026 · 1 revision

Getting Started

Prerequisites

  • Node.js ≥ 22
  • pnpm ≥ 9 (corepack enable)
  • Docker (for Postgres + Redis in local dev)

Clone & install

git clone https://github.com/kannan19302/ERPSys.git
cd ERPSys
pnpm install
cp .env.example .env   # fill in secrets

Run the stack

pnpm docker:up      # Postgres + Redis
pnpm db:generate
pnpm db:migrate
pnpm db:seed
pnpm dev             # web on :3000, api on :3001

Everyday commands

Command Purpose
pnpm lint ESLint across the workspace
pnpm typecheck TypeScript project references
pnpm test Unit tests (Vitest)
pnpm test:e2e Playwright end-to-end tests
pnpm format Prettier write
pnpm architecture:check Required before any API change
pnpm migration:discipline Required before any database change

Full details: README § Development Setup.

Clone this wiki locally