This directory contains the React-based user interface for the bwmon project. All instructions below apply only to the UI/frontend part. For backend or server-side setup, see the main project README.
This project was bootstrapped with VITE.
- Getting Started
- @vitejs/plugin-react uses Babel for Fast Refresh
Install dependencies before running or building the UI:
npm installStart the Vite development server:
npm startThen open http://localhost:3000 in your browser.
Build the optimized production bundle:
npm run buildThe output will be in the build folder. To preview the build locally, you can use a static server such as serve:
npm install -g serve
serve buildnpm testnpm run test:oncenpm run test:coverage- Coverage report: reports/coverage/lcov-report/index.html
npm run test:e2e- Playwright report: reports/playwright/html/index.html
npm run test:mutation- Mutation report: reports/mutation/mutation.html
npm run prettynpm run auditnpm run lintUpdate the UI package version and create a git tag:
npm version <version number>For questions or contributions, please refer to the main project repository or contact the maintainers.