Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 923 Bytes

README.md

File metadata and controls

59 lines (40 loc) · 923 Bytes

publictransport

Interactive webapp that shows you how far public transport can get you in a particular amount of time?

Check out this link to see a video of the functions: https://www.dropbox.com/s/nfrqtfcrvbc6kxw/video.mp4?dl=0

To try the webapp:

Run Server

open cmd and create a new virtual environment for the dependencies

python -m venv .venv

activate it

# Ubuntu
source .venv/bin/activate

# Windows (cmd)
.\.venv\Scripts\activate
(env\Scripts\activate.bat)

install dependencies

pip install uvicorn
pip install fastapi
pip install pydantic
pip install geojson
pip install shapely
pip install pandas

uvicorn main:app --reload

Run Front End

open a powershell terminal and navigate to /myapp

install dependencies

npm install

run development server

npm run dev