A Calendar built with React, Vite, TypeScript, Effector, Storybook and TailwindCSS, following Feature-Sliced Design architecture. The project includes comprehensive testing setup with Vitest and React Testing Library.
npm install
npm run dev
The project follows Feature-Sliced Design architecture:
app/
- Application initialization and configurationpages/
- Compositional layer for pageswidgets/
- Independent page blocksfeatures/
- User interactions and business logicentities/
- Business entitiesshared/
- Reusable components and utilitiesnpm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production buildnpm run lint
- Run ESLintnpm run format
- Format code with Prettiernpm run test
- Run testsnpm run test:coverage
- Run tests with coverage reportnpm run test:ui
- Run tests in browser modeThe project uses Vitest as the testing framework with React Testing Library for component testing. Tests are organized alongside the components they test in __tests__
directories.
npm run test
- Run tests in watch modenpm run test:coverage
- Run tests with coverage reportnpm run test:ui
- Run tests in browser mode