Skip to main content

Installation

Prerequisites

RequirementVersion
Node.js≥ 22.x
npm≥ 10.x
Docker (optional)any recent version

Clone & Install

git clone https://github.com/giulio-leone/wpdash.git
cd wpdash
npm install

Environment Variables

Copy the environment template:

cp .env.example .env

Open .env and configure the required values. See Configuration for all available variables.

Start Development Server

npm run dev

The dashboard will be available at http://localhost:3000.

Available Commands

CommandDescription
npm run devStart development server with hot-reload
npm run buildProduction build
npm run startStart production server
npm run lintESLint (0 warnings tolerance)
npm run type-checkTypeScript type check
npm run testUnit tests (Vitest)
npm run test:e2eEnd-to-end tests (Playwright)
npm run checklint + type-check + test in one pass

Next Steps