- React — a frontend library
- Redux + Redux Toolkit — a state manager
-
assets - static assets (images, global styles)
-
libs - shared libraries and utilities
2.1 components - plain react components
2.2 enums
2.3 helpers
2.4 hooks
2.5 modules - separate features or functionalities
2.6 types
-
modules - separate app features or functionalities
-
pages - app pages
- Create and fill all .env files. These files are:
- apps/frontend/.env
You should use .env.example files as a reference.
-
Install dependencies:
npm install. -
Run frontend:
npm run start:dev -w apps/frontend
Use npm run format and npm run lint:fix. It automatically corrects a certain number of errors.
<type>-<short-desc>
Examples:
feature-add-dashboardfeature-add-user-flowfix-user-flow