Node app that mirrors GTFS and OSM data sources for rest of the services
npm install @bikehopper/data-mirrornvm https://github.com/nvm-sh/nvm to install the appropriate NodeJS version.
$ nvm install
`
`
$ nvm use
`
This will automatically use the correct Node version defined in .nvmrc, you can also install that node version manually
Env Vars
If setting up for the Bay Area, set the following env vars:
`
API_511_KEY=
`
If setting up for a different region, you need the full url's for both GTFS and OSM data
`
GTFS_URL=
OSM_PBF_URL=
`
Building
This project uses transpiled Typescript when running. To transpile run:
`
npm run build
`
then
`
npm run start
``