This repo houses code for the ATD Data & Performance Hub. It is a NextJS app that relies heavily on open data APIs.
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.
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:
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.