Getting set up with frontend
Before we start
Make sure Infrahub Backend is up and running. If not, in your terminal execute:
invoke demo.destroy demo.start demo.load-infra-schema demo.load-infra-data
Infrahub is built with React and uses pnpm as its package manager. Make sure you're running Node.js 24+ and pnpm 10+, to verify, run:
node --version
pnpm --version
1. Install dependencies​
cd frontend/app
pnpm install
2. Start a local server​
pnpm start
You can access your local server at http://localhost:8080/. If you are not familiar with Infrahub, follow our Overview Guide.
3. Run all tests​
Unit & integration tests​
pnpm test
# same with coverage
pnpm test:coverage
E2E tests​
pnpm test:e2e
All tests should succeed. For more information on testing, read Running & Writing Tests.