Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

KPMP/portal-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GDC Data Portal

#react #relay #redux #recompose #flow #jest #d3

Build Status

Technologies

  • React - JavaScript library for building user interfaces
  • Relay - JavaScript framework for building data-driven React applications
  • Redux - Predictable state container for JavaScript apps
  • Recompose - React utility belt for function components and higher-order components
  • Flow - Static type checker for JavaScript
  • Jest - Delightful JavaScript testing
  • d3 - Data-Driven Documents

Installation

Install Watchman

brew update
brew install watchman

We recommend using Node v8 (npm v5).

npm i

Tests

npm test

Development

By default the portal will attempt to connect to an api instance running on localhost:5000, however this can changed by setting the environment variable REACT_APP_API, or by setting localStorage.REACT_APP_API in the browser.

# start ui connected to localhost:5000 api server
npm start

# start ui connected to UChicago api server
REACT_APP_API=/endpoint/ npm start

// change api url during runtime in browser
localStorage.REACT_APP_API = '/endpoint/'

Contributing

Read how to contribute here

Packages

No packages published

Languages

  • JavaScript 87.8%
  • TypeScript 6.0%
  • CSS 5.9%
  • Other 0.3%