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.
- Clone the repository
- Install dependencies:
npm install
- Start the development server:
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 utilities
npm 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 mode
The 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.
- Vitest - Fast and modern testing framework
- React Testing Library - Component testing utilities
- Jest DOM - DOM testing utilities
npm run test- Run tests in watch modenpm run test:coverage- Run tests with coverage reportnpm run test:ui- Run tests in browser mode
- React
- Vite
- TypeScript
- Effector
- Storybook
- TailwindCSS
- ESLint
- Prettier
- Husky
- Vitest
- React Testing Library
- Jest DOM