Skip to content

mr4tt/bartalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Bartalysis

Bartalysis is a web application that uses the Bay Area Rapid Transit (BART) API to provide route planning and service information for commuters.

View Database Diagram

View System Diagram

Tech Stack

  • React
  • TypeScript
  • TailwindCSS
  • Python
  • Django
  • SQLite

Building the Frontend

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

Building the Backend

Update and Install Packages

sudo apt-get update
pip install -r requirements.txt

Create Protoc Compiler

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.

Build the Database

Create the django user database.

python manage.py migrate

Create the BART database.

python manage.py migrate --database=bart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •