Skip to content

Latest commit

 

History

History
69 lines (44 loc) · 2.05 KB

README.md

File metadata and controls

69 lines (44 loc) · 2.05 KB

React APP using Redux and Typescript

❔ About

This project can be used as a boilerplate to another app,

The project is already setup with redux, it can be modified in any way. It has already a ADD and REMOVE article used as example to illustrate the use of Redux.

There are two possible redux style implementation

  • The first option is used for the Articles (src/store/article)
  • The other one is used for the Posts (src/store/post)

I personally prefer the second one. But few free to implement the one that makes more sense for you and your team. One thing that you might considerer is to use Redux ducks pattern, it is for those who love to add all in one place, it just a matter of taste, you could also add RTK which makes everything much more fun.

Redux Style Guide

Screenshot

Screenshot

Screenshot

🛠 Tech Stack

Installation

Fork the Repository:

Simply click on the “fork” button of the repository page on GitHub.

Clone the Repository:

git clone https://github.com/abnersouza/article-app-with-redux.git

How to Run, Build and Run the Tests

# Navigate to root directory
> cd ./article-app-with-redux

# Install all dependencies
> npm install

# Run localhost
> npm run start

# Run the tests
> npm run test

# Build for production, it creates a folder called /build
> npm run build

Credits

freeCodeCamp article by Ibrahima Ndaw