https://github.com/kinfe123/songoch-redux
https://github.com/kinfe123/songoch-redux
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/kinfe123/songoch-redux
- Owner: Kinfe123
- Created: 2023-02-09T19:32:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-21T06:04:30.000Z (over 3 years ago)
- Last Synced: 2025-02-13T23:28:15.537Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://songoch.vercel.app/
- Size: 417 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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