This is the repo for Martin Lewis' Honours Project. The project involves creating a front end and corresponding API to expose elements of proter that are only available programmatically.
This is the front end section.
For Local use:
Requriements: node >16, npm
git clone https://github.com/martin-lewis/proter-online-frontendcd proter-online-frontendnpm startin order to start the website
Using Docker
Requirements: Docker
git clone https://github.com/martin-lewis/proter-online-frontendsudo docker build -t frontend:1.0.0 proter-online-frontend/sudo docker run -p 0.0.0.0:3000:80 frontend:1.0.0to run
Regardless of setup the web server can be found at localhost:3000
It makes requests to the back-end on localhost:8080 (so ensure you have a instance running). This is hardcoded in the front end but can be changed by editing the fetch commands in src/ArrivalsBox.js