{"id":15482048,"url":"https://github.com/code-matt/mbta_health","last_synced_at":"2025-03-28T14:33:25.327Z","repository":{"id":74838105,"uuid":"66857641","full_name":"code-matt/mbta_health","owner":"code-matt","description":"Network graph visualization of the MBTA subway and commuter rail. ","archived":false,"fork":false,"pushed_at":"2016-09-15T19:23:21.000Z","size":18530,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-19T05:21:10.745Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code-matt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-29T15:51:36.000Z","updated_at":"2023-10-19T01:45:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"d17839a6-fefb-4b6f-be3a-31b209748637","html_url":"https://github.com/code-matt/mbta_health","commit_stats":{"total_commits":123,"total_committers":1,"mean_commits":123.0,"dds":0.0,"last_synced_commit":"f76edb240de9fdec88805c3e2dffcfd14da6cc24"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-matt%2Fmbta_health","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-matt%2Fmbta_health/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-matt%2Fmbta_health/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-matt%2Fmbta_health/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-matt","download_url":"https://codeload.github.com/code-matt/mbta_health/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246046572,"owners_count":20715001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T05:07:29.565Z","updated_at":"2025-03-28T14:33:25.292Z","avatar_url":"https://github.com/code-matt.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MBTA_Health\n\n## ( very much work in progress )\n\n### http://mbta-health.herokuapp.com/\n![Screenshot](screenshot.png)\n\n##todo\n* ~~Get alerts for all stations every 30secs and pipe them in via websocket~~\n* Add in details(schedule/alerts) pane for stations/routes when one is selected (in progress )\n* Update station nodes color in realtime depending if trains are running on time or not( right now they do for alerts )\n* ~~Refactor component structure~~\n* Refactor types and make interfaces\n* Upgrade to RC6 :(\n\n## Installation\n!! You need an API key from the MBTA in order to seed and run this project.\nPlace it inside .env ```MBTA_KEY=\u003cyour key\u003e```\n```\ncd MBTA_Health\nbundle install\nrails db:create\nrails db:migrate\nrails db:seed\nrails runner \"app/POROS/seed_graph.rb\"\n```\n```\ncd client\nnpm install\nng env:init\n```\nng env:init will create env.json and app-env.interface.ts\n```\nenv.json\n{\n  \"baseUrl\": \"http://localhost:3000\",\n  \"wsUrl\": \"ws://localhost:3000/cable\"\n}\n```\n```\napp-env.interface.ts\nexport interface AppEnv {\n    baseUrl: string;\n    wsUrl: string;\n}\n```\n```\nng env\nng build\nrails s\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-matt%2Fmbta_health","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-matt%2Fmbta_health","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-matt%2Fmbta_health/lists"}