Skip to content

wvargas10/sp-react-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speeding Planet's React and Redux class

This is the source code for Speeding Planet's React and Redux class

It is based on the code from Create React App.

Installation Instructions

Note that yarn can be used in place of npm below:

git clone https://github.com/johnpaxton/sp-react-class
cd sp-react-class
npm install 

After npm install completes, you will need to do three things:

  • Start the server
  • Start the REST server
  • Run some tests

Start the server

Start the server with npm start. Eventually, a browser window should open which looks like this: The server has started

You can click on the "Transactions" link to expand it further: Transactions expanded

And finally click on "Transaction detail" to see the details on a particular transaction: Transaction detail

Start the REST server

Start the REST server by entering npm run rest. You can test the REST server by going to http://localhost:8001/tx/5.

Run some tests

Run a (very limited) set of tests by executing npm test. The tests may run automatically, or you may see this screen: Run tests

If you do, enter a to run all tests. You should see this screen: Successful tests

That's it! You are all set up!

Important note

This repo will stay static for Tuesday, May 16 and Wednesday, May 17. After that, it will likely be updated. The sections Start the REST server and Run some tests should work fine, but the details in Start the server will likely change.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published