Skip to content

Downchuck/react-ngl-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple loading of NGL in React for PDB Files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published