wfp / ui-reactjs

MIT License
4 stars 2 forks source link

WSS

Quick primer

WSS (WFP Self Service) is a mixed Django / React.JS application. Each page is served by Django and it's a container for plain React.JS components. Data binding is binding directly by React and the Django server will act as Rest API.

Requirements

In order for the application to run, requirements are:

Inside the project folder

Library development

Documentation

WFP UI documentation can be found here: UI-DOC.

Deprecated: How to build and run the static prototype with mocked data

It won't be necessary by the 1st of September, static html+CSS was used for quickly prototype purposes.

Library development

Setup

  1. Install Facebook Watchman: https://facebook.github.io/watchman/docs/install.html
  2. Run the following:

    • sudo npm install -g wml
    • npm install
    • wml add lib/ demo/node_modules/wfp-ui-reactjs/lib/ -cp package.json demo/node_modules/wfp-ui-reactjs/
    • wml start

    In another terminal

    • cd demo
    • npm install

Development

Run:

Documentation

WFP UI documentation can be found here: UI-DOC.