/react-node-redux-starter

react redux example with a koa webserver

Primary LanguageJavaScript

React Starter

Setup

Install:

VS Code Setup

Install the following extensions if you use VS Code:

  • ESLint
  • Prettier JavaScript Formatter
  • EditorConfig for VS Code

Run

Install dependencies with:

yarn

Then run with:

yarn start

The app will now be served from a webpack dev server on localhost:8080!

Run in production

To run on a nodeJS webserver

Build the client app with:

yarn build

Then run the server with:

yarn node-server

The app will now be served from a nodeJS server on localhost:8080!