Skip to content

ScoreTrak/client

Repository files navigation

ScoreTrak Web App

The react web application for ScoreTrak, a scoring engine built in go.

Installation

Clone the repository.

git clone https://github.com/ScoreTrak/client

Usage

Setup Buf Registry

npm config set @buf:registry https://buf.build/gen/npm/v1

For more information on the buf registry for Scoretrak, go to scoretrakapis.

Install Dependencies

npm install

Set your dev environment values (https://vitejs.dev/guide/env-and-mode.html)

Development

Start the application

npm run start
# .env.development

VITE_API_SERVER_URL=http://scoretrak.dev.example.com:30080

Production

Build the application

npm run build

Serve generated static files

npm run serve