Skip to content

timdoege/ng-FlipSide-Racing-Web

Repository files navigation

TmRacing

Upgrade: Currently using ng cli 1.6.3 and Angular 5.1.3

To update to latest version of Angular: npm update -D && npm update -S

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build: ng build --aot --prod --build-optimizer=false --base-href "/flip/"

Assets:

  1. \galdor\c$\Apps\WCSSupportPhone\Flip: Folder for tmtracks.csv and tmtrackhistory.csv
  2. \galdor\c$\Apps\WCSSupportPhone\FlipWeb: Dist of ng build

Cleanup delete from laps_table where event_id in (977,1023,722,774,781) delete from laps_backup_table where event_id in (977,1023,722,774,781) delete from summary_table where event_id in (977,1023,722,774,781)

Data model (Flipside Racing)

Data is collected from an offline-version of the Flipside Racing database, served as JSON from here: http://galdor.tm.dom:8080/TMSupportAlert/misc

For testing, the entities can be placed in the flipside-db.json file. Serve with json-server (https://www.npmjs.com/package/json-server) from the project root using json-server --watch db.json (accessible as http://localhost:3000/bestlap etc.)

Components

  1. Dashboard
  2. Race events overview
  3. Race details
  4. Racers
  5. Racer details
  6. Best laps