For tracking your stakes.
- go to mapbox.com and register yourself to create your own, personal API key
- copy
frontend/src/typescript/mapbox.ts.sample
tofrontend/src/typescript/mapbox.ts
and update it to use your own Mapbox API key. - edit
frontend/src/typescript/map.tsx
to use your latitude, longitude coordinate of choice. - edit
backend/resoures/application.conf
to set the web service port to use, or keep the default 8000. - build and start the backend with
./mill backend.run
- run
npm i
to populatenode_modules/
for the frontend build - run
npx webpack --watch
to package the frontend code - launch a browser at http://localhost:8000/ (or whichever port you chose)
backend/
- server implemented in scala using akkafrontend/
- app in typescript using reactbuild.sc
- mill build config for the backendmill
- mill bootstrapping wrapper