Skip to content

OSU-App-Club/BeavBus-Server

 
 

Repository files navigation

BeavBus Server

Build Status

The backend that powers the BeavBus apps' Corvallis Transit System data.

Prerequisites for running

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:

# Running tests
$ dotnet test CorvallisBus.Test

# Running Web App
$ cd CorvallisBus.Web
$ dotnet run --project CorvallisBus.Web

# Run the data init job locally by sending a POST request
$ curl -d {} localhost:57855/api/job/init

Purpose

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.

Disclaimer

We assume no liability for any missed buses. Buses may be erratic in their arrival behavior, and we cannot control that.

API Documentation

Visit https://corvallisb.us/api for documentation.

About

A Web API for the Corvallis Transit System.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 97.2%
  • HTML 2.8%