#govbins

Source code for councilbins.nz

Running it

Install the dependencies:

yarn install

First, run the development server:

yarn dev

Open http://localhost:3000.

Adding a bin

Add the image in /public/images, then add another entry in /src/bins.js with the information:

  {
    fileName: "ruapara.jpg",
    slug: "new-plymouth-district",
    localAuthorityCode: "NPD",
    collectionDate: "22 April 2022",
    contributorHandle: "@mattlane",
    contributorURL: "https://twitter.com/mattlane",
    colour: "green",
    councilName: "New Plymouth District",
  }

GitHub

View Github