Skip to content

Commit 3104d2d

Browse files
Merge pull request #32 from Leothosine/chore/dashboard-readme
chore: add web/dashboard/README.md
2 parents 88569de + 0a5bc47 commit 3104d2d

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

web/dashboard/README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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 |

0 commit comments

Comments
 (0)