TODO: Describe.
TODO: Describe.
This application uses react as a framework and is bundled using vite
through node.js + npm. It is recommended that you use
nodenv to manage local node installations.
It is entirely clientside and data is fetched remotely from GTFS feeds.
Vite will set any environment variables provided in a .env or .env.local file when launching the development server.
We recommend setting some stops in .env.local using VITE_STOP_IDS when developing
to monitor your changes (and so you don't have to memorize these stop IDs).
Here are a few interesting PVTA stop IDs to look at:
64- UMass Integrative Learning Center generally always has multiple busses stopping at it116- Amherst College's stop is an end of the B431620- Memorial / Heywood sits right before the R14 branches into several routes with different destinations
node.js/npmmatching the version in the.node-versionfile (just runnodenv installif using nodenv)
npm install # bundle dependenciesnpm run build # builds a production bundle.
npm run dev # starts a local development server.
npm run lint # runs the js linter.
npm run lint:css # runs the css linter.
npm run preview # serves a previously built production bundle.Bug reports and pull requests are welcome on GitHub.
The application is available as open source under the terms of the MIT License.