Skip to content

lmammino/judo-heroes-2

Repository files navigation

judo-heroes-2

Universal JavaScript sample application with React Router 4 and Express 5 (Enhanced version of https://github.com/lmammino/judo-heroes)

Build Status Deploy

Setup

git clone git@github.com:lmammino/judo-heroes-2.git
cd judo-heroes-2
yarn # or `npm i` if not using yarn

Available commands

Available commands to run with npm run:

  • start: build the production package and run the production server (no universal)
  • start:universal: build the production package and run the production server with universal rendering
  • start:dev: build the dev package and run the server in dev mode (no universal rendering — auto-restarts on changes)
  • start:dev:universal: build the dev package and run the server in dev mode with universal rendering (auto-restarts on changes)
  • build: build the production package
  • build:dev: build the dev package
  • build:dev:watch: build the dev package in watch mode (listen for changes and re-build immediately)

Want to know more about Node.js, React and Universal JavaScript?

If you want to know more about Universal JavaScript and improve your application even more (e.g. by adding Universal Data Retrival using REST APIs) I definitely recommend to read the chapter Universal JavaScript for Web Applications on my book Node.js Design Patterns Second Edition (Packt):

Node.js Design Patterns Second Edition by Mario Casciaro and Luciano Mammino

Contributing

Everyone is very welcome to contribute to this project. You can contribute just by submitting bugs or suggesting improvements by opening an issue or by sending a pull request.

License

Licensed under MIT License. © Luciano Mammino.