- Ensure a recent version of npm/node is installed.
- Fetch the code from https://github.com/don-p/rivian.git (three branches exist, for each of the deliverable:
delieverable1
,delieverable2
, anddelieverable3
). - At least two terminal windows are rquired, to run two processes for the server and client (admin/vehicle) applications.
- Open a new terminal window for the server application, at the root of the local git project. Run
npm install
, and thennpm start
. - You should see a console message "Example app listening on port 8000!" when the application server has started.
- From the root of the local git project, cd to the
/client
directory. Open a new terminal window for the client application, in this directory. Runyarn install
, and thenyarn start
. - You should see a console message that the client application is available at http://localhost:3000, when the client application server has started.
- The "admin" app is available at localhost:3000/admin. This app displays a list of connected vehicles and their status properties.
- The "vehicle" app is available at localhost:3000/vehicle. This app displays the vehicle status properties.
PAT: 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