This is an application that displays a dashboard-like display for information around Alewife Station in Boston. It illustrates using the MBTA API and being a good client by pre-emptively avoiding overtaxing the API.
How To Use This
- Rust 1.33
- NPM 10.x
- Electron installed globally
For Nix users,
shell.nix derives all of the necessary build tools.
cd server && cargo build cd client && npm install && npm build
Run the application with
./dashboard.sh. If you don't have electron installed globally, modify the path to electron in this file.
The dashboard script will start the server in the background (and, incidentally, rebuild it in the process), start the UI, and then will terminate the server when the UI terminates.