Getting Started

Starting a project with the boilerplate module

The react-dash-boilerplate project provides a starter project and a development environment for doing react-dash development. It’s a good place to start.

  • Make sure that you have npm installed on your system

  • Install the react-dash-boilerplate project and its dependencies:

    git clone https://github.com/NuCivic/react-dash-boilerplate.git
    cd react-dash-boilerplate
    npm install
    npm run init
    npm run start
    
  • Visit http://localhost:5000 on your system - if everything was successful, you should see an example dashboard

  • Look at our Developer’s Guide for next steps to customize your dash!

Run the example project that ships with the react-dash project

If you can’t get the boilerplate project to install, just install the react-dash library and use the example project as a starting place.

  • Make sure that you have npm installed on your system
  • Set up an npm project
npm init
npm install react-dash
npm run start
  • Look in the examples/ folder for the project source
  • Take a look at our Developer’s Guide for next steps to customize your dash!

Building a DKAN project

Visit the Drupal Module page for more on Drupal Dkan development