Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

#govbins

Source code for govbins.uk

Open data APIs used in site:

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": "name-of-image.jpg",
  "localAuthorityCountry": "eng", // must be eng, ni, sct or wls
  "localAuthorityCode": "CHE", // must match the code from the api
  "collectionDate": "12 March 2020"
},
You can’t perform that action at this time.