Skip to content

BlinkTagInc/gtfs-realtime-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GTFS-Realtime Proxy

An API to retrieve GTFS-Realtime data and add CORS headers. This makes GTFS-Realtime available directly to client-side code within a web browser.

Built with next.js.

Local setup

npm install

Configure the FETCH_URL to use your GTFS-Realtime URLs in app/vehiclespositions/route.ts, app/tripupdates/route.ts and app/servicealerts/route.ts,

Running Locally

npm run dev

Open the following URLs to see the result:

Running in production

npm run build
npm start

About

Retrieve GTFS-Realtime data and add CORS headers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published