0.1.1 • Published 5 years ago

react-redux-zero v0.1.1

Weekly downloads
5
License
-
Repository
-
Last release
5 years ago

react-redux-zero is an scalable example project focused in testing. it portraits a simple use case for handling reviews.

Contents

Features

  • This project was created with Create React App. Yet, the main src directory was deleted and was rebuilt from scratch.
  • A React high order component provides authentication services.
  • React components are organized as "Containers" and "Components". Each Container's directory holds the aggregated components along with constants, selectors, action creators, reducers, and unit tests.
  • The reducers employs Immutable to manage the state of the Redux's store.
  • The application fetches the reviews from JsonPlaceholder's Posts
  • Redux's sagas handle the API calls.

Getting Started

Checkout this repo, install dependencies, then run the tests and the application:

> git https://github.com/rogermori/react-redux-zero.git
> cd react-redux-zero
> npm install

Run the tests

> npm run test 

Run the application

> npm run start 

Implementation

  • Testing
    • Jest
    • Enzyme
    • Moxios
  • Authentication
    • Reach High Order Component
  • Middleware
    • Redux's sagas
  • Store
    • Immutable
    • Reselect
  • Artifacts

    • Constants
    • Reducers
    • Action Creators
    • Selectors