https://github.com/noviel/react-redux-example-app
React Redux Example App for interaction with REST-like endpoints
https://github.com/noviel/react-redux-example-app
Last synced: 11 months ago
JSON representation
React Redux Example App for interaction with REST-like endpoints
- Host: GitHub
- URL: https://github.com/noviel/react-redux-example-app
- Owner: Noviel
- License: mit
- Created: 2018-07-11T12:41:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-13T13:11:33.000Z (almost 8 years ago)
- Last Synced: 2025-02-05T02:17:18.852Z (over 1 year ago)
- Language: TypeScript
- Size: 227 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Redux Example App
[Live demo](https://compassionate-lichterman-919e75.netlify.com/)
## About
Recipients data is fetched only once on the start up. Then UI will be optimistically updated, based on the assumptions about remote API.
`Send` button - send `PUT` request to the remote endpoint with `status` changed to `true`.
`Delete selected recipients` - send `DELETE` request to delete selected recipients.
`Add email` - create new recipient with `false` `status` via POST request to the ENDPOINT.
Filters - filter shown recipients by `status`. No external API is called, just Redux stuff.
## Clone and install
```sh
git clone git@github.com:Noviel/react-redux-example-app.git
cd react-redux-example-app
yarn install
```
## Start dev server
```sh
yarn dev
```
## Build for production and serve locally
```sh
yarn build && yarn serve
```
## Packages
[webpack-features](https://github.com/Noviel/webpack-features) - Webpack configuration.
[react-table](https://github.com/react-tools/react-table) - basic table rendering.