Folder Structure

A straightforward and easy-to-navigate folder structure simplifies the process of finding what you need.

Under theberry-material-react/ directory, You will find the following folder structure.

berry-material-react
..
├── src
│   ├── api                -> Mock Json data to be used for working apps
│   ├── assets
│   │   ├── image       
│   │   ├── scss           -> Different theme preset
│   ├── contexts           -> State context for Login management & config
│   ├── data               -> Static data
│   ├── hook               -> Custom hooks
│   ├── layout           
│   │   ├── Customization
│   │   ├── MainLayout     -> Layout for main components & routers
│   │   ├── MinimalLayout  -> Layout for mimimal components & routers
│   │   ├── NavigationScroll.js
│   │   ├── NavMotion.js
│   ├── menu-items         -> menu items
│   ├── routes             -> different route based on layouts
│   ├── store              -> Redux actions, reducers
│   │   ├── slices         -> different slices of toolkit
│   ├── themes             -> Contains application style and theme
│   ├── types              -> common types for Typescript. Exist only in Typescript
│   ├── ui-component       -> Template custom & reusable components
│   ├── utils
│   │   ├── locales        -> different locale JSON files
│   │   ├── route-guard    -> Auth guard to prevent unexpected navigations
│   ├── views
│   ├── App.js             -> starting point of application
│   ├── config.js          -> Template constant value and live customization
│   └── index.js           -> Application root js file
├── .env                   -> Store configuration settings and environment variables
├── eslint.rc              -> To configure ESLint rules 
├── .prettiertc            -> To Code formatting style rules
├── jsconfig.json
├── package-lock.json      -> File generated by npm
├── package.json           -> Contains metadata (name, version, dependencies, scripts, and other)
├── vite.config.mjs
├── README.md
├── yarn.lock              -> File generated by yarn


Last updated