Business dashboard for the Veritasor revenue attestation protocol. Connect revenue sources, trigger attestations, and view on-chain proof history.
- React 18 + TypeScript
- Vite for build and dev server
- React Router for navigation
- Node.js 18+
- npm or yarn
# Install dependencies
npm install
# Start development server (http://localhost:5173)
npm run devThe dev server proxies /api to http://localhost:3000 (backend). Start the backend for full functionality.
| Command | Description |
|---|---|
npm run dev |
Start Vite dev server |
npm run build |
Production build |
npm run preview |
Preview production build |
npm run lint |
Run ESLint |
veritasor-frontend/
├── src/
│ ├── components/ # Layout, shared UI
│ ├── pages/ # Dashboard, Attestations
│ ├── App.tsx
│ ├── main.tsx
│ └── index.css
├── public/
├── index.html
├── package.json
├── tsconfig.json
└── vite.config.ts
Create .env (optional) for API base URL override:
VITE_API_URL=http://localhost:3000
This directory is a separate git repository. To push to your remote:
git remote add origin <your-frontend-repo-url>
git push -u origin main