Our project for JacobsHack! 2022, "Carbon Trainer", aims to show the possible carbon savings of a railway between two cities by estimating the construction costs and replaced automotive traffic.
This code is mostly functional, but there were a few bugs that we didn't have time to sort out by the submission deadline.
cd ./backend
python -m venv venv
source venv/Scripts/activate
(or./venv/Scripts/activate.bat
on Windows)pip install -r requirements.txt
python server.py
You should now be able to connect to the backend server (http://localhost:8000/docs).
cd ./frontend
npm install
npm start
You should now be able to connect to the frontend server (http://localhost:3000/). The backend must be running for any special content to be rendered.