Skeleton SPA; ready for production.
Tech Stack: React, Synthetic-Redux (Redux + Redux-Saga), Material-UI, React Testing Library, Jest, ESLint, Docker, CircleCI
This project was bootstrapped with Create React App.
Runs the app in the development mode.
Open http://localhost:4140 to view it in the browser.
- apiUrls.js -> API endpoints organized as
exported consts
per application feature - redux: Types.js - 1 action type per action (synthetic redux dynamically creates error and success type)
- /pages -> Each feature is an app directory. The page handles the API communication & error handling
- /pages/.redux.js -> Synthetic Redux configuration for the page
- /components -> Each feature has multiple pure components orchestrated by one pure component
- /components/common -> Common ReactJS components
- Theme.js -> Material UI Opinions & Overrides
- Tests -> unit: For services, redux functions
- Tests -> integration: For React components
npx create-react-app
npm i react-router-dom react-redux redux-saga
npm install @material-ui/core @material-ui/icons ( Add appropriate Fonts in index.html)
npm i eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react --save-dev