Skip to content
/ heroes Public

My personal node and react playground for learning and testing things. Follow/use at your own risk.

License

Notifications You must be signed in to change notification settings

jconroy/heroes

Repository files navigation

Heroes

Build Status

My personal node and react playground.

View the app at https://hidden-ocean-68398.herokuapp.com/

Installation

git clone <repo>

cd <cloned repo dir>

npm install

Starting a server

Quickest method is to use:

npm run start

Alternative method is to:

npm run build

npm run serve

Then browse to http://localhost:3000

Test

Unit tests and linting can be performed by simply running:

npm test

To simply run unit tests:

./node_modules/mocha/bin/mocha

To simply lint:

./node_modules/.bin/eslint --ext .js --ext .jsx src

Credit

Based off https://github.com/lmammino/judo-heroes

Notes

  • TravisCI unit tests are setup with Mocha Test Framework and Chai assertion library.
  • Additionally the src js/jsx are linted with ESLint
  • I seen lots of people are starting to use Jest - seems like it is an easier test framework to grok (but some sites suggest it is slower to run and less polished).
  • Auto deploys from Github to a free Heroku account.

About

My personal node and react playground for learning and testing things. Follow/use at your own risk.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published