Crucible-Standard / mtastate

a simple api for getting MTA status for all MTA lines

Home Page:https://mtastate.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mtastate

Issues License Known Vulnerabilities code style: prettier codecov

Description:

You should be able to do a GET request against the API and receive back information about any new jersey transit or MTA train line.

example being GET to https://mtastate.herokuapp.com/?line=1 for the 1 MTA line local information.

Example Response: Status: 200

{
  "data":"123: GOOD SERVICE"
}

Installation

npm install

Example Usage

Basic usage

npm run start

now you should be able to get a response from

http://localhost:5000/health

About

a simple api for getting MTA status for all MTA lines

https://mtastate.herokuapp.com/


Languages

Language:JavaScript 98.8%Language:Dockerfile 1.2%