Sign inSign up

massimilianog/react-redux-typescript

By massimilianog

Updated almost 6 years ago

A simple application demonstrating common patterns when using React, Redux and TypeScript

Image
0

391

massimilianog/react-redux-typescript repository overview

react-redux-typescript

A simple application demonstrating common patterns when using React, Redux and TypeScript

The application uses redux to manage the state.
It runs on port 3001 and makes http request against a mock serving a simple REST API on port 3005. To add more mock data edit the file db.json Async operation is managed by thunk middleware.\

Getting started

In the project directory, run:

yarn install

To run the application

In the project directory, run:

yarn start

Runs the app in the development mode.
Open http://localhost:3001 to view it in the browser. The page will reload if you make edits.
You will also see any lint errors in the console.

yarn run mock

Runs the mock server based on json-server - https://github.com/typicode/json-server

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

To learn Redux, check out the Redux documentation.

Tag summary

Content type

Image

Digest

Size

14.2 MB

Last updated

almost 6 years ago

docker pull massimilianog/react-redux-typescript