File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # PayStream Dashboard
2+
3+ React + Vite front-end for the PayStream platform.
4+
5+ ## Running the dev server
6+
7+ `ash
8+ # From the repo root
9+ pnpm install --no-frozen-lockfile
10+
11+ # Or from this directory
12+ cd web/dashboard
13+ pnpm install
14+ pnpm dev
15+ `
16+
17+ The dev server starts at < http://localhost:5173 > by default.
18+
19+ ## Environment variables
20+
21+ Copy .env.example to .env and fill in the values:
22+
23+ | Variable | Description | Default |
24+ | ---| ---| ---|
25+ | NEXT_PUBLIC_API_URL | PayStream API base URL | http://localhost:8080 |
26+ | NEXT_PUBLIC_STELLAR_NETWORK | Stellar network (mainnet or estnet) | estnet |
27+ | NEXT_PUBLIC_HORIZON_URL | Stellar Horizon endpoint | https://horizon-testnet.stellar.org |
28+
29+ ## Other commands
30+
31+ | Command | Description |
32+ | ---| ---|
33+ | pnpm build | Production build |
34+ | pnpm typecheck | TypeScript type-check |
35+ | pnpm lint | ESLint |
36+ | pnpm preview | Preview production build locally |
You can’t perform that action at this time.
0 commit comments