Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleragreen committed Jul 24, 2023
1 parent 07b7834 commit 7850dbc
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
# gtfs-realtime-rust
# gtfs-realtime-rust

This is a Rust learning exercise to build a REST server that dynamically launches and manages a set of async tasks. These tasks fetch a GTFS-Realtime feed from an endpoint supplied during a POST call.

## Running Locally
```
cargo test
cargo run
```

## Sample Feed
```
{
"name": "MTA A Division",
"frequency": 30,
"url": "https://api-endint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs",
"headers": {
"x-api-key": "<key_goes_here>"
}
}
```

0 comments on commit 7850dbc

Please sign in to comment.