A web app to exercise on react, typescript, eslint, prettier, redux, hooks, saga ...
- REST API
- openbrewerydb.org: [https://www.openbrewerydb.org] Opensource
- React
- Material UI: [https://material-ui.com]
- Axios: [https://github.com/axios/axios]
- Redux hooks: [https://react-redux.js.org/api/hooks]
- Saga
- here is tools I will use during this tutorial:
- iTerm2: [https://www.iterm2.com/downloads.html]
- XCode from MacOs
- brew: [https://brew.sh/]
brew update && brew upgrade(update for already installed packages)- NodeJS and Yarn:
brew install nodejs yarn - postman:
brew cask install postman
- create a repo named "brewery-react-app" on git
- open iTerm2 and
cd ~ && mkdir Workspace && cd ~/Workspace yarn initgit clone https://github.com/nicolastrote/brewery-react-app.git && cd brewery-react-appyarn && yarn start
- redux-hook connect/dispatch/mapState...: [https://react-redux.js.org/using-react-redux/static-typing]
- redux-hook: [https://medium.com/javascript-in-plain-english/add-redux-to-your-react-app-with-react-hooks-5abb0bff9d7e]
- 'yarn add redux react-redux'
- redux-devtools with hooks:[https://github.com/zalmoxisus/redux-devtools-extension#usage]
- 'yarn add redux-devtools-extension'
- 'yarn add redux-saga @types/redux-saga redux-logger'
- 'yarn add redux-logger -D'
- Redux-logger: tool to inspect in console panel triggered actions and state of Redux
- We only need it for development that why we add it as a dev-dependency
