Skip to content

Latest commit

 

History

History
60 lines (36 loc) · 1.03 KB

README.md

File metadata and controls

60 lines (36 loc) · 1.03 KB

Competition Frontend

built with the main frameworks: react & MUI

Build & Run

copy .env.localhost or .env.setup to .env

cp .env.setup .env

Development

  • in development mode, auto refresh of pages on changes and source-maps are enabled.
  • backend api calls are forwarded to the backend via proxy configuration vite.config.ts

run:

cp .env.localhost .env
npm run dev

Production

run:

cp .env.setup .env
npm run build
  • it builds the single page application (dist folder)
  • it will be served by the backend, therefore no need to start the frontend separately for production
  • server -> started via backend: http://localhost:8080

Pages

Admin Section Overview

/admin/overview

e.g. http://

Judging Section

/admin/select-raw-point

or :

http://localhost:8080/judging/start?tournamentName=Team%20SM%202022&id=J1

Tournament Admin

/admin/tournament?admin=true