{"repo":"allister-grange/missinglink","free":true,"listed":false,"github":"https://github.com/allister-grange/missinglink","clone":"git clone https://github.com/allister-grange/missinglink.git","description":"A site to provide you with statistics, graphs and maps on how New Zealand's public transport services are doing, today and in the past","language":"C#","stars":14,"topics":["csharp","netcore","nextjs","postgres","react","typescript","redis"],"license":"GPL-3.0","category":"databases-storage","readme_excerpt":"MissingLink MissingLink is an application to visualise and collate data on various public transport agencies in New Zealand. It consists of a backend that polls various sources of transport data across New Zealand every 15 minutes, and a front end to visualise said data. I found the stats interesting and thought they should be shared, so I built the site. https://user-images.githubusercontent.com/18430086/196853160-8ed89ae5-3da6-40d3-b974-b0166b4c0391.mp4 Tech The front-end is built with React using the NextJS framework and it's hosted on Vercel. The back-end is built in C# using .Net and Postgres for the database, hosted on an EC2 instance in AWS, with Nginx in fronting the server. Environment Variables To run this project, you will need to add the following environment variables to your appsettings.json file. MetlinkApiConfig.ApiKey , this can be retrieved from Metlink's API. I use two keys for the AtApiConfig and bounce the requests between them so as not to hit API quota limites too quickly. The key used for the request is randomly selected between the two configuration items at runtime. AtApiConfig.ApiKey1 and AtApiConfig.ApiKey2 will be created with your account for AT's API. API Reference All services are refreshed every 15 minutes. Dates are formatted YYYY-MM-DDTHH:MM:SS Path Method Tags Description ---------------------------------------------------------------- ------ --------------- ----------------------------------------- /api/v1/at/services GET AtServices Retrie","default_branch":null,"files":null,"tree":[],"storefront":"/r/allister-grange","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/allister-grange/missinglink/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}