/jade-data-repo-ui

UI for the Jade Data Repo

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Jade Data Repository UI

Based off of React Redux Saga Boilerplate

Prerequisites

  • install npm: brew install npm
  • install nvm from nvm.sh -- do NOT install through homebrew as that is no longer maintaine

Run the following to get automatic node version switching set up:

npm install -g avn avn-nvm avn-n
avn setup

Provides

  • react ^16.x
  • react-router 4.x
  • react-helmet 5.x
  • redux 4.x
  • redux-saga 0.16.x

Development

  • webpack-dev-server 3.x
  • react-hot-loader 4.x
  • redux-devtools (with browser plugin)

npm start

Building

  • webpack 4.x
  • babel 7.x

npm run build

Code Quality

  • eslint 5.x
  • stylelint 9.x

npm run lint / npm run lint:styles

Unit Testing

  • jest 23.x
  • enzyme 3.x

npm test

End 2 End Testing

  • cypress 3.0.x

npm run test:e2e

skaffold

To render your own local skffold.yaml run the following with your initials

sed -e 's/TEMP/<initials>/g' skaffold.yaml.template > skaffold.yaml

Run a deployment you must set env var IMAGE_TAG

npm run build --production
skaffold run