chris-alexander / candidate-listing

Demo Web Page using the GOVUK Frontend Toolkit and React

Home Page:https://chris-alexander.github.io/candidate-listing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GOV.UK Candidate Listing

This is a Demo web page built using the GOV.UK Frontend Toolkit and React.

Getting Started

  1. You will need to have the following installed on your system:

    • node (>=v4.0.0)
    • Google Chrome (to run the unit tests)
  2. Clone the repo locally: git clone https://github.com/chris-alexander/candidate-listing.git

  3. cd into the directory where it was cloned: cd candidate-listing

  4. Install the dependencies: npm install

Development

Run npm start to serve the development version of the web page. Open a browser and navigate to http://localhost:8080/ to view it. As you make changes to the source code the page will update.

Production

Run npm run build to compile a production version of the web page. The compiled code will be output into the dist folder.

You can serve the page by running npm run serve and it will be available at http://localhost:3000. You can change the port by adding -- --port followed by the 4 digit port number e.g. npm run serve -- --port 8081.

A pre-compiled production version is available to view here: https://chris-alexander.github.io/candidate-listing

Tests

Run npm test to run the unit tests

About

Demo Web Page using the GOVUK Frontend Toolkit and React

https://chris-alexander.github.io/candidate-listing

License:MIT License


Languages

Language:JavaScript 74.1%Language:CSS 20.2%Language:HTML 5.6%