/react_boilerplate

An example react application SGD used by ENCODE.

Primary LanguageJavaScriptMIT LicenseMIT

Getting Started

Follow the instructions below to download and run the project.

Installation

Install git

Install node.js

Verify the node.js installation in either Terminal (Mac OS X), or Windows Command Prompt (Windows):

node -v

Verify the npm installation:

npm -v

With node.js installed

In a directory where you have write permission, clone the repository from Github:

git clone git@github.com:hitz/react_boilerplate.git

When the cloning completes, cd into the react_programming_starter directory and run the following command:

npm install

Start

Start the development task

npm start

Go to http://localhost:8080/webpack-dev-server/

Test

To run the tests, use the command

npm test

That will run any file ending in .test.js in the src directory using mocha.

Stanford University