An enterprise react template application showcasing - Global state management, a network layer, component library integration, route configuration, lazy loading
-
Install dependencies using
yarn install
-
Start the dev server using
yarn start
-
Go through the other scripts in
package.json
- Global state management using Redux Sauce
- API calls using Axios
- Styling components using Styled Components
- Reusing components from Ant design
- Routing is done using React Router
- 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.
Bundling your application using ReactAppRewired
-
We're using and configuring webpack to bundle our React application.
Take a look at the following files
Testing using @testing-library/react
- Testing is done using the @testing-library/react.
-
Atoms:
Basic building blocks of matter, such as a button, input or a form label. They’re not useful on their own.
-
Molecules:
Grouping atoms together, such as combining a button, input and form label to build functionality.
-
Organisms:
Combining molecules together to form organisms that make up a distinct section of an interface (i.e. navigation bar)
-
Templates:
Consisting mostly of groups of organisms to form a page — where clients can see a final design in place.
-
Pages:
An ecosystem that views different template renders. We can create multiple ecosystems into a single environment — the application.
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@ability/*":[
"src/ability/*"
],
"@assets/*": [
"src/assets/*"
],
"@constants/*": [
"src/constants/*"
],
"@components/*": [
"src/shared/components/*"
],
"@atom/*": [
"src/shared/atom/*"
],
"@molecules/*": [
"src/shared/molecules/*"
],
"@organism/*": [
"src/shared/organism/*"
],
"@constant/*": [
"src/shared/constant/*"
],
"@icons/*": [
"src/shared/icons/*"
],
"@layout/*": [
"src/layout/*"
],
"@Layout/*": [
"src/shared/Layout/*"
],
"@redux/*": [
"src/redux/*"
],
"@utils/*": [
"src/utils/*"
],
"@pages/*": [
"src/pages/*"
],
"@services/*": [
"src/services/*"
],
"@store/*": [
"src/store/*"
],
"@hooks/*": [
"src/hooks/*"
]
}
}
}
Take a look at the following files