jmcbroom / multi-gtfs-gatsby

Gatsby proof of concept for multi-agency GTFS site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

multi-gtfs-gatsby

building a web site that can display ddot.info-like timetables for many agencies at once. you can find an example site at https://transit.det.city

developing the main site

  1. clone the repo

  2. run yarn

  3. populate your .env.development with: PG_CONN, SANITY_TOKEN, SANITY_PROJECT_ID, SANITY_DATASET, MAPBOX_ACCESS_TOKEN

  4. run gatsby develop

You'll see the main site at localhost:8000 and the GraphQL Explorer at localhost:8000/___graphql

developing the custom CMS

See the README for instructions on creating a local version of the CMS.

database

we use gtfs-sql-importer to populate the database

About

Gatsby proof of concept for multi-agency GTFS site

License:MIT License


Languages

Language:JavaScript 90.2%Language:TypeScript 6.0%Language:CSS 3.4%Language:MDX 0.5%