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
npm install
make # build assets and server
npm start # start the server
Open http://localhost:3000/ in the browser.
make dev # start development server with hot reloading
It will automatically open your default browser with project loaded.
- View list of posts
- View single post
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.