Skip to content

akornatskyy/sample-blog-react-reflux

Repository files navigation

React Blog Sample

tests Code Climate

A simple blog written using react and reflux demonstrating unidirectional dataflow architecture.

Setup

Install dependencies with npm:

npm i

Build resources for mock api strategy:

npm run build

or web (optionally specify web API host):

API=web npm run build
API=web HOST=http://api.local:8080 npm run build

Run

Serve files with a web server (from build/):

npm start

Open your browser at http://localhost:8080, use demo / password.