This repo is deprecated, move with new one, created with Next https://github.com/yussan/next-redux-skeleton
Isomorphic apps, built using Express, ReactJS and Redux. This allows to server side rendering and server requests.
Isomporphic applications can run both on clients such as web browsers and on servers. Written on top of Node.js, that focuses on real-time web applications. More https://www.sitepoint.com/isomorphic-javascript-applications/
-
When the user opens a web page, ReactRouter starts to match
req.url
to available routes. ReactJS will render and request data on server along with rendering of ExpressJS. - After first load, user most likely will move to other page with link that exist. In this event ReactRouter will handle it, and ReactJS will request data via ajax using Superagent
-
- NodeJS
- NPM (should be bundled with NodeJS)
- Yarn (recommended to replace NPM,optional), all yarn commands below can be changed using npm
-
Clone this repository to your local machine.
git clone https://github.com/yussan/react-redux-isomorphic-boilerplate
-
Install dependencies using yarn
yarn install
-
Run the server and Webpack build
yarn start
-
Visit http://localhost:18080, or whichever port specified in your configuration file (
.env
).
- https://kompetisi.id Indonesian Online Competition Platform.