React frontend for go-prapi (v0.5.0) websocket server.
Control Linux PC sound remotely from your phone.
- React, TypeScript, Vite
- Jotai: state management
- Zod: schema validation
- Vitest: unit testing
- Cypress: E2E testing
- GitHub Actions: CI/CD
- Tailwind CSS + Shadcn
git clone https://github.com/undg/pr-web
cd pr-web
pnpm install
pnpm run dev
IMPORTANT: You need to run go-prapi's server
git clone https://github.com/undg/go-prapi
cd go-prapi
make run
pnpm run dev
: Start dev serverpnpm run build
: Build productionpnpm run test
: Run unit testspnpm run test:e2e
: Run E2E testspnpm run lint
: Run linting
Build output to go-prapi's /tmp/bin/pr-web/dist
folder.
go-prapi have make build/fe
and make build/full
command's that will pull this repo with frontend code and wire it with the backend.
go-prapi serves WebSockets and static files.
Stored in localStorage. Jotai + Zod ensure valid values.
GitHub Actions enforce quality and tests.
Clean code awaits smart devs.