npm install - Install dependencies
npm run dev - Launch the project in development mode
npm run preview - Preview the production build
npm run dev- Start the dev server via Vitenpm run build- Build the projectnpm run preview- Local preview of the buildnpm run lint- Check the code using ESLintnpm run prettier- Format the code using Prettier
The project was written in accordance with the Feature sliced design methodology
Link to documentation - feature sliced design
The project uses eslint to check typescript code, strictly control key architectural principles, and ensure accessibility
npm run lint- Checking ts files with a linternpm run prettier- Formatting the project
The project contains a vite config: vite.config.ts
The builder is adapted to the main features of the application
Build:
Data interaction is carried out using the redux toolkit
Requests to the server are sent using Axios
To work with routes in the project, we use React router DOM
The router configuration is located in client/src/app/providers/RouterProvider
- CreateMessenger
- EditMessenger
- Message
- MessageSearch
- MessengerInput
- MessengerSearch
- Profile
- Slider
- UserContacts
- ChatList
- The project uses a custom UI library (client/src/shared/ui). All UI components are located in /client/src/shared/ui.
- All assets are located in /client/src/shared/assets: assets.
- All auxiliary development tools, such as hooks, contexts, wrappers, or testing helpers, are located in /client/src/shared/lib: lib.
- The config folder contains configuration files.