This is a mock bus schedule client.
It's consuming the FakeBus API over websockets.
-
To run, first get the node package manager npm, and run
npm install
while in the directory to locally install packages. -
Make sure the flask API server is running and point the socket under Modules/APIConnection at it -- or just use the server I've set up.
-
Use
npm run dev
(aliased ofwebpack --watch
). -
Navigate to the webpage, and watch the schedule update once a minute. You can trigger a bus schedule delay at the server endpoint
\delay
.