Skip to content

Latest commit

 

History

History
executable file
·
55 lines (40 loc) · 1.25 KB

README.md

File metadata and controls

executable file
·
55 lines (40 loc) · 1.25 KB

Exercises

Code Exercise

  • React.js SPA that uses NGL and can load/display a PDB

Definition of Done:

  • Actually working, testing/documentation, a 12factor app. (12factor.net)
  • Can load and run locally on any machine (*nix, windows, mac)
  • If UI, mobile first/responsive

Notes

This is a node package, run npm install to download appropriate dependencies for development.

Run with:

npm start

Continuous testing with:

npm test

Install dependencies:

npm install

Development with React

This repository was built from create-react-app, a useful framework for JavaScript-based development.

"Create React App requires Node 8 or higher. (AWS Cloud9 usees an old version of node, upgrade to v10 LTS):

The Node Version Manager helps with installing recent versions of node.

nvm install --lts

You may also want to update npm as some versions run slow on Windows.

npm install -g npm@latest

This repository was created with:

npx create-react-app react-ngl-demo
cd react-ngl-demo
npm install --save ngl