Sign inSign up

isundaylee/path-v3

By isundaylee

Updated over 5 years ago

My React/Redux learning toy project that fetches and displays arrival predictions for PATH trains.

Image
0

1.1K

isundaylee/path-v3 repository overview

Path v3

Toy React project for showing the NJ PATH timetable.

Run it

Just the frontend:

npm start

Frontend + backend (needs to build first):

`` npm run build python main.py


## Update data

Get data from https://old.panynj.gov/path/developers.html
Convert `.txt` files (actually CSVs) to `.json` files:

Install Miller

cd public/path-nj-us for f in *.txt; do base=${f%.txt} echo "Converting $f -> $base.json" mlr --c2j --jlistwrap --jvquoteall cat $f > $base.json done

Tag summary

Content type

Image

Digest

Size

252.1 MB

Last updated

over 5 years ago

docker pull isundaylee/path-v3