cityofaustin / atd-data-and-performance

Open data and performance hub for the City of Austin Transportation Department
https://data.mobility.austin.gov
Other
22 stars 8 forks source link
bootstrap government intelligent-transportation-systems leaflet mobility open-data open-government traffic-analysis transportation

ATD Data & Performance Hub

This repo houses code for the ATD Data & Performance Hub. It is a NextJS app that relies heavily on open data APIs.

Contents

Get it running

Activate your node environment

$ nvm use

Install dependencies

$ npm install

Start the development server

$ npm run dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Configuring a new MapList

The MapList is a configureable dashboard component that provides a linked list and map view. It is designed to work well on mobile/touch devices, and can be customized to many data display needs. See components/MapList.js for props documentation.

This image illustrates how the MapList props affect the layout:

MapList props visual

Deployment & CI

The production site is hosted by Netlify. Any merge to the production branch will trigger a new build. Deploy previews will be generated for any non-production branch.