This project was bootstrapped with Create React App. Frisbee icon made by Freepik from www.flaticon.com. (Attribution for these things to be added to a future Credits page)
A simple app to track score and co-ed line composition for Madison Ultimate Frisbee Association (mufa.org) games. The author is not affiliated with MUFA in any way. The use of its name and acronym does not constitute an endorsement of the app by MUFA, and no part of this app should be considered to represent MUFA in any way.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
This app is built to be run from an AWS S3 bucket configured for a static websites. Deployment is a 3 step process.
- Make sure the Cloudflare Web Analytics token in
public/index.html
is the correct token. - Build the app:
yarn build
- Login to the AWS console
- Get into the S3 bucket you want to upload to
- Upload everything from the
build/
folder - Make sure the content was set to be publicly accessible
- You really should remove the token after deployment so you don't commit the token to the repo. It's right in the page source, so it's not that big a deal but still.
- Delete the
build/
folder – not strictly necessary but it can help you be confident a build was successful
- Build a history section so you can see the score and line comp history during a game
- Build a basic deploy script that can do all of the steps
- Build an interface and logic to handle conflicts between local and remote game states.