Skip to content
/ pr-web Public

React frontend for go-prapi WebSocket server. Control Linux PC volume remotely.

License

Notifications You must be signed in to change notification settings

undg/pr-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pr-web

Tests Code quality analysis

Pulse Remote Frontend

React frontend for go-prapi (v0.5.0) websocket server.

Control Linux PC sound remotely from your phone.

pr-web screenshot

Tech Stack

  • React, TypeScript, Vite
  • Jotai: state management
  • Zod: schema validation
  • Vitest: unit testing
  • Cypress: E2E testing
  • GitHub Actions: CI/CD
  • Tailwind CSS + Shadcn

Development

Spin FE server

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

Spin BE server

git clone https://github.com/undg/go-prapi
cd go-prapi
make run

Key Commands

  • pnpm run dev: Start dev server
  • pnpm run build: Build production
  • pnpm run test: Run unit tests
  • pnpm run test:e2e: Run E2E tests
  • pnpm run lint: Run linting

Deployment

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.

Config

Stored in localStorage. Jotai + Zod ensure valid values.

Code Quality

GitHub Actions enforce quality and tests.

Clean code awaits smart devs.

About

React frontend for go-prapi WebSocket server. Control Linux PC volume remotely.

Resources

License

Stars

Watchers

Forks

Packages

No packages published