This is a basic setup for our frontend projects, it includes Migration guide from deprecated Create React App setup.
- Frontend application based on Vite
- Code is written in Typescript
- Prettier formatter
- Linting implemented with Stylelint and ESLint
- Testing setup consists of Vitest and Testing Library
- Support for styling with Styled Components
- GNUI component library
- Additional checks that improve codebase maintenance (circular dependencies, unused exports)
- Git hooks support
- Alias import support
Check engines field in package.json to see currently supported versions
Automatic setup for NVM users
nvm install
nvm usenpm install3. Add env file
Create .env file
REACT_APP_CLIENT_TOKEN=
REACT_APP_ENV=development
SERVER_OPEN_BROWSER=false