Skip to main content

Source code structure

    ┌── env                                     Environment folder
│ ├── .dev File setting development environment
│ ├── .prod File setting production environment
│ └── .staging File setting staging environment
├── public Public folder
│ ├── favicon.ico Web favicon
│ ├── index.html Index file
│ ├── manifest.json Manifest file
│ └── robots.txt
├── src Source folder
│ ├── assets Asset folder
│ ├── components Component folder
│ ├── configs Config folder
│ │ ├── apiConfig.ts Api configuration file
│ │ ├── formConfig.ts Form configuration file
│ │ ├── menuConfig.ts Menu configuration file
│ │ └── routesConfig.ts Route configuration file
│ ├── constants Constant folder
│ │ ├── datetime.ts Datetime format file
│ │ ├── index.ts Constant configuration file
│ │ └── storageKey.ts Storage key file
│ ├── contexts Context folder
│ │ ├── CurrentUser.tsx Current user
│ │ └── RequireAuth.tsx Require authorization
│ ├── helpers Helper folder
│ │ ├── api.ts Api helper configuration
│ │ ├── auth.ts Auth helper configuration
│ │ ├── formHelper.ts Form helper configuration
│ │ ├── index.ts Helper configuration
│ │ └── notifications.ts Notification helper configuration
│ ├── hooks Hook folder
│ │ ├── useFetch.ts
│ │ ├── useLAzyFetch.ts
│ │ └── withLazy.ts
│ ├── pages Page folder
│ ├── router Router folder
│ │ └── AppRouter.tsx
│ ├── types Type folder
│ │ ├── common.d.ts Common type configuration
│ │ ├── store.d.ts Store type configuration
│ │ └── user.d.ts User type configuration
│ ├── utils Util folder
│ ├── App.less
│ ├── App.test.tsx
│ ├── App.tsx
│ ├── index.css
│ ├── logo.svg
│ ├── react-app-env.d.ts
│ ├── reportWebVitals.ts
│ └── setupTest.ts
├── .gitignore
├── craco.config.js Craco configuration file
├── Dockerfile Docker configuration file
├── package.json Kind of a manifest of project
├── README.md Readme file
├── tsconfig.json Typescript configuration file
└── yarn.lock