Skip to content

AusTINCANsProgrammingTeam/2158ScoutingWebsite

Repository files navigation

2158 Scouting Website

Team 2158 ausTIN CAN's Scouting Website

SASS (Bootstrap), Javascript (Node.js, Express.js, Firebase Node SDK)

Installation

npm install
  • Install Firebase CLI (NPM)
npm install -g firebase-tools
#Log into firebase
firebase login
#Initialize your project items (hosting, functions)
#	TODO: Run through these steps and add other insights
firebase init hosting
firebase init functions
#Finally deploy
firebase deploy
# Your apikey for cloud functions (Found in the functions page of your cloud console)
firebase functions:secrets:set API_KEY 
# Your database url (Found in the realtime database page of your cloud console)
firebase functions:secrets:sete DATABASE_URL

Usage

TODO: Document how to usage

Updating

Updating config

  • Duplicate a previous years config json
  • Replace game pieces with current year's
  • Be sure to use a standard naming convention for the code values

Updating server-side

  • Start by duplicating yearConfigBase.js and renaming it to the current year
  • Write each method
    • Use previous years for reference
    • Use the code values from the corresponding config
  • Register the year in yearConfigRegistry.js
  • Update the year in loadData.js and index.js

Docs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors