/ReactReduxDemo

Primary LanguageJavaScriptMIT LicenseMIT

React Redux Demo

Full-featured example of publishing platform built with React, Redux, React Router, Babel and Webpack.

Some features:

  • Server-side rendering
  • Token-based authorization with JWT (for paywall in the future, but not currently working)
  • Modular CSS with React CSS Modules
  • API mock with JSON server

Running

npm install

Production

make # build assets and server
npm start # start the server

Open http://localhost:3000/ in the browser.

Development

make dev # start development server with hot reloading

It will automatically open your default browser with project loaded.

you can

  • View list of posts
  • View single post

How it works

All data stored in API implemented with jsonServer. There're pre-populated users and posts entities. This implementation is example-only and you can easily drop-in your own backend solution. We aim just to show the direction.