The backend that powers the best apps for the Corvallis Transit System.
The .NET SDK must be installed. The precise version that you should install can be found in global.json. Then you can run the following commands in the repo root directory:
# If you want to run tests
$ dotnet test CorvallisBus.Test
# Run the web app
$ cd CorvallisBus.Web
$ dotnet run
# Run the data init job locally by sending a POST request
$ curl -d {} localhost:57855/api/job/init
To have a more convenient way to get real-time information about the free buses in Corvallis. Data from CTS is merged with data from Google Transit, with some convenient projections applied, and mapped into some easily-digestable JSON for different use cases.
We assume no liability for any missed buses. Buses may be erratic in their arrival behavior, and we cannot control that.
Visit https://corvallisb.us/api for documentation.