/EcorouteServer

EcoRoute Server

Primary LanguageJavaScript

EcorouteServer

EcoRoute Server

Ownership of files/functions:

Kavya:

  1. energyObjectives.js
  2. timeObjective.js
  3. utils.js
  4. fetchtimeout.js
  5. interfaces.js
  6. errors.js (Need to remove useless files)

Aradhya:

  1. firebase.js
  2. firebaseAdmin.json

Common:

  1. EV_STATION_DATA.json : Only data

  2. mapboxServices.js : Objects for async call of mapbox (refactor where needed)

  3. index.js : entry-points
    Kavya:
    ---/stationsInVicinity
    ---/ecoroutePath
    ---function ecorouteIsochone
    ---function reserve_station
    ---function findDirectionRoute

    Aradhya: ---/getallstations
    ---/chargingStations
    ---/getPathV1
    ---/getPathV2
    ---/getHeatmapData
    Rest is boilerplate setup, some constants and data references