An open API service indexing awesome lists of open source software.

https://github.com/kinfe123/songoch-redux


https://github.com/kinfe123/songoch-redux

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Songoch Music App

#### Get Started

- Step 1:
```sh
git clone https://github.com/Kinfe123/Redux-Song-App
```
- Step 2:
```sh
cd Redux-Song-App
```
- Step 3:
```sh
npm install
```
- Step 4:
- start the json server by hitting the command below
```sh
npx json-server --watch db.json --port 3002
```

- Step 4:
- Start the react application by hitting the command below
```sh
npm start
```

[Redux Toolkit Docs](https://redux-toolkit.js.org/introduction/getting-started)

#### Install Template

```sh
npx create-react-app my-app --template redux
```

- @latest

```sh
npx create-react-app@latest my-app --template redux
```

#### Existing App

```sh
npm install @reduxjs/toolkit react-redux
```

#### @reduxjs/toolkit

consists of few libraries

- redux (core library, state management)
- immer (allows to mutate state)
- redux-thunk (handles async actions)
- reselect (simplifies reducer functions)

#### Extras

- redux devtools
- combine reducers

#### react-redux

connects our app to redux