User management, analytics, event planning, and more!
webui/
├── .github/
├── cypress/
├── public/
├── src/
| ├── assets/
| ├── components/
| ├── contexts/
| ├── css/
| ├── hooks/
| ├── pages/
| ├── types/
| ├── utils/
| ├── App.tsx
| ├── main.tsx
├── index.html
├── package.json
├── <configs>
git clone https://github.com/CAPY-RPI/webui.gitgit clone git@github.com:CAPY-RPI/webui.git- Node.js (v18 or newer)
- npm (comes bundled with Node.js)
- Docker (for running the production container locally)
From the root level of the repository:
npm installnpm run devThis starts the development server with Hot Module Replacement. Any changes you make will be instantly displayed without reloading!
npx stylelint "**/*.css" --fixnpx eslint . --fixnpx prettier . --checknpx prettier . --writenpm run lint-checknpm run lint-fixWe must replicate a production environment to adequately test the UI.
docker build -t web-ui:test .
docker run -d --name webui -p 5173:80 web-ui:test
npx cypress openTo rebuild environment, stop and remove the previous build before following the previous steps.
docker stop webui
docker rm webui