A Simple React Application With Redux And Style Component
BaseReactApplication
Requirements:
- Node (recommended 12+)
Tech stack:
- React ,Hook, React Router, Redux, Redux Saga, Reselect, Immer, Style Component, Redux Form
Coding Convention:
- ESLint , Prettier
Project Structure:
Start App:
- Make sure that you have Node.js v8.15.1 and npm v5 or above installed.
- Install dependencies:
npm install - Run command:
npm run startfor dev - Run command:
npm run start:stagingfor staging - Run command:
npm run start:prodfor production - Starts the development server running with other port:
npm start -- --host localhost --port 5000oryarn start --port 5000 - Create Component, containers, routes, selectors and sagas:
npm run generate