Bartalysis is a web application that uses the Bay Area Rapid Transit (BART) API to provide route planning and service information for commuters.
- React
- TypeScript
- TailwindCSS
- Python
- Django
- SQLite
First clone the project
git clone <githuburl>
Next change directory into the frontend directory
cd bartalysis
cd frontend
Then install dependencies and run server:
npm install
npm run dev
Go to http://localhost:5173/ to access the webpage
sudo apt-get update
pip install -r requirements.txt
Install proto-buf.
sudo apt-get install -y protobuf-compiler
Run the proto.py file.
python proto.py
Ensure the gtfs_realtime_pb2.py file is located in the gtfs-rt directory. This is required to pull data from GTFS-RT.
Create the django user database.
python manage.py migrate
Create the BART database.
python manage.py migrate --database=bart