Skip to content

arnavs-0/SharkScout-PWA

Repository files navigation

SharkScout PWA

SharkScout is a configurable PWA FRC robot scouting application for FRC team 226. It is a fast offline-first application that allows you to scout robots and teams without having to be connected to the internet by generating QRCodes and submitting it to the Backend Database. It also has the ability to submit data to Firebase when internet connection is available.

Configuring and Creating is Very Fast via the Customizable Options available through a JSON Schema

Note this app is pairs with the SharkScout Backend which is a server that stores the data by scanning QR codes.

** Please Note: Documentation is still in the works. If you have any questions feel free to open an issue **

Required Tools

  • Node.js version 12 LTS or greater (tested on Node.js 14.17.3)
  • Yarn version 1.22 or greater (tested on Yarn 1.22.17)
  • Git version 2.22 or greater (tested on Git 2.22.0)

Setup Environment

Must have created a Firebase Project

  1. npm install -g firebase-tools
  2. firebase login
  3. yarn global add node-firestore-import-export
  4. git clone https://github.com/arnavs-0/scouting-pwa.git
  5. cd sharkscout-pwa
  6. yarn
  7. In .env add the REACT_APP_FIREBASE_API_KEY= REACT_APP_FIREBASE_AUTH_DOMAIN= REACT_APP_FIREBASE_DB_URL= REACT_APP_FIREBASE_PROJECT_ID= REACT_APP_FIREBASE_STORAGE_BUCKET= REACT_APP_FIREBASE_SENDER_ID= REACT_APP_FIREBASE_APP_ID= REACT_APP_FIREBASE_MEASUREMENT_ID= from the Firebase console.
  8. In src/data/forms change the Scouting Forms, an example file is shown
  9. In src/utils/label change the JSON labels that will be exported in the order of the scouting form schema
  10. In src/utils/config.json change the config file
  11. In the root dir run yarn start to start the app.

Components

Component Status id
Boolean (Switch/Toggle) βœ… boolean
Checkbox Select 🚧 checkbox
Autocomplete Select 🚧 autocomplete
Counter βœ… counter
Date πŸ“ TBA
Drawable Canvas πŸ“ TBA
Dropdown βœ… dropdown
Header βœ… header
Image βœ… image
Image Select πŸ“ TBA
Label βœ… label
Number βœ… number
Radio Select βœ… radio
Range πŸ“ TBA
Text βœ… text
Textarea βœ… textarea
Timer πŸ“ TBA

Key

βœ… Complete 🚧 Work in Progress πŸ“ Planned

This app was used initally by Team 226 during the 2022 Season - Rapid React and will be continously improved and utilized for the upcoming season

Releases

No releases published

Packages

No packages published

Languages