Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

ONSdigital/dp-dd-react-app

Repository files navigation

DP data discovery front-end [ALPHA]

A React application for the front-end of the data discovery journeys and UIs being tested for the ONS website.

Prequisites

Environment

You'll need both Node and NPM installed before starting.

Dependencies

Go services

Checkout develop branch on all dp-dd-* repos.

  • github.com/ONSdigital/dp-dd-api-stub
  • github.com/ONSdigital/dp-dd-job-creator-api-stub
  • github.com/ONSdigital/dp-dd-frontend-controller

Checkout dd-develop on dp-* repos.

  • github.com/ONSdigital/dp-frontend-renderer
  • github.com/ONSdigital/dp-frontend-router

Run all services with make debug.

You should check individual README.md files for more configuration and debug/build details.

Other dependencies
  • sixteens

    • use develop branch
    • start with ./run.sh
  • babbage

    • use develop branch
    • start with ./run.sh

Run application locally

Using NPM

npm install

Using Yarn

yarn

Start local dev server

./run.sh

It will host the application, auto-build and reload on file changes using.

By default app will be servered via `:20040` but will accept another port as an argument, eg `PORT=7000 ./run.sh`.

IMPORTANT UPDATE

Currently app doesn't run on its own. You need all above dependency services up and running.

Once started it will be served from localhost:20000 via dp-frontend-router

Building application

npm run build

Contributing

See CONTRIBUTING for details.

License

Copyright ©‎ 2016, Office for National Statistics (https://www.ons.gov.uk)

Released under MIT license, see LICENSE for details.

About

Alpha front end for the Data Discovery journeys on https://ons.gov.uk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages