This repository houses a React progressive web app serving as the offline-first scouting app custom designed for use by the Indiana Scouting Alliance in the 2025 FIRST Robotics Competition game, Reefscape.
Message @liujip0 on Discord if you have any questions.
Use either GitHub CLI:
gh repo clone liujip0/scouting
or git:
git clone https://github.com/liujip0/scouting.git
cd scouting
pnpm install
Create a file called .env.local
in app/src/
VITE_SERVER_URL="http://localhost:8787"
Create a file called .dev.vars
in api/
ADMIN_ACCOUNT_USERNAME="admin"
ADMIN_ACCOUNT_PASSWORD="adminpassword"
FIRST_API_TOKEN=<Direct message @liujip0 on Discord>
TBA_API_TOKEN=<Direct message @liujip0 on Discord>
JWT_PRIVATE_KEY="xc03o1xblf4rga87xss3ebztlc8f5r9l"
Change to api/
folder
cd api
Initialize local database
npx wrangler d1 execute isa2025-db --file=./migrations/0000_initialize.sql
Return to original folder
cd ..
pnpm dev
The frontend will be on localhost:5173
and the backend will be on localhost:8787
.