Skip to content
/ srr Public

Simple React Redux is made with love for people who want start with React and Redux.

Notifications You must be signed in to change notification settings

kncs/srr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SRR (Simple React Redux)

SRR has been created in order to help people to start with React and Redux. By using SRR you will be able to build large and scalable application comfortably.

Getting Start

First of all, install dependencies:

$ npm run install

Then, you launch the dev server:

$ npm run dev

Enjoy your app !

Development Tools

Workflow is built on top of Webpack using hot module reloading and ES6 transpilation. Feel free to play with it :

$ npm run dev

Then, work on your frontend app and it will magically update changes on your browser.

For a better expreience, install Redux DevTools Extension.

Backend

Backend is based on Express web framework. It's a minimal server that will allow you to only serve your app.

Frontend

Frontend is based on React and Redux. React is used for build the User Interface and Redux is used to handle the data flow. The frontend achitecture is higly inspired from redux tutorials:

  • actions: are payloads of information that send data from your application to your store.
  • components(Presentational Components): They describe the look but don't know where the data comes from, or how to change it.
  • constants: just a folder with constants and particulary actionTypes
  • containers (Container Components): They prepare data to be passed to presentationnal components.
  • reducers: specify how the application's state changes in response

Tests

Jest is used for testing the frontend app. You can run once tests using the command :

$ npm run test

or test on every file change using the command :

$ npm run test:watch

About

Simple React Redux is made with love for people who want start with React and Redux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published