wednesday-solutions/react-template
소개
An enterprise react template application showcasing - Testing strategy, Global state management, middleware support, a network layer, component library integration, localization, PWA support, route configuration, lazy loading and CI/CD
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalBuilding a product on this template? Alfred, the free AI Wednesday used to grow its own products, plugs into Claude Code, Cursor or Codex and gets your product live, paying and growing. See what it does →
React Template
An enterprise react template application showcasing - Testing strategies, Global state management, middleware support, a network layer, component library integration, localization, PWA support, route configuration, lazy loading, and Continuous integration & deployment.
Expert teams of digital product strategists, developers, and designers.
Built using react-floki
Getting Started
Install dependencies using
yarn installRun the initialize script using
yarn run initializeStart the dev server using
yarn startGo through the other scripts in
package.json
Global state management using reduxSauce
Global state management using Redux Sauce
Take a look at the following files
Computing and getting state from the redux store using Reselect
Take a look at the following files
Implementing a Redux middleware using redux-sagas
Side effects using Redux Saga
Take a look at the following files
Network requests using wretch
API calls using Wretch
Take a look at the following files
Styling using emotion
Styling components using Emotion
Take a look at the following files
Using Material UI as the component library
Reusing components from Material UI
Take a look at the following files
Localization using Lingui
Translations using Lingui
Take a look at the following files
Routing using react-router
Routing is done using React Router
Take a look at the following files
Creating and showcasing components individually and in isolation using Storybooks
Storybooks allows you to work on one component at a time. You can develop entire UIs without needing to start up a complex dev stack, force certain data into your database, or navigate around your application.
- run storybook
yarn storybook
- run storybook
Take a look at the following files
Accessibility testing using Storybooks a11y Addon
Accessbility testing is done using a11y addon.
Take a look at the following files
Run all the accessbility tests using
yarn test-storybookRun single test file by specifying path
yarn test-storybook <path to file>
For the documentation take a look at: Accessbility test
Bundling your application using Webpack
We're using and configuring webpack to bundle our React application.
Take a look at the following files
Analyzing the bundle size using webpack-bundle-analyzer
The size of the bundle is analyzed using the webpack-bundle-analyzer to make sure that the bundle is lean and optimized.
Take a look at the following files
Implementing CI/CD pipelines using Github Actions
CI/CD using Github Actions. The CI pipeline has the following phases
- Checkout
- Install dependencies
- Lint
- Test
- Accessbility Test
- Build
The CD pipeline has the following phases
- Checkout
- Install dependencies
- Build
- Deploy
Take a look at the following files
Testing using @testing-library/react
Testing is done using the @testing-library/react.
Take a look at the following files
End to End testing using playwright
End to End testing is done using playwright.
Take a look at the following files
Run all End to End tests using
yarn test:e2eRun single test file by specifying path
yarn test:e2e <path to file>
For the documentation take a look at: playwright
Scaffolding components/containers/tests using react-floki
- Components, containers, tests and stories can be scaffolded using
For the documentation take a look at: react-flokiyarn generate
Misc
Aliasing
- @app -> app/
- @containers -> app/containers/
- @components -> app/components/
- @services -> app/services/
- @utils -> app/utils/
Take a look at the following files
Chunkify and Lazy loading
Take a look at the following files
App entry point
PWA
Take a look at the following files
관련 프로젝트 살펴보기
불러오는 중…