A modern, single-page e-commerce application built with React TanStack TypeScript and Vite. This project is a collaborative effort by the Yes Code team, showcasing our skills in clean architecture, full-stack development, and modern web practices.
Figma design: Yes Code Merch Store
- Feature-Sliced Design: A modular architecture that promotes separation of concerns and reusability.
- Responsive Design: A mobile-first approach to ensure a seamless experience across devices.
- Accessibility: Adherence to WCAG 2.1 standards for improved accessibility.
- React: A JavaScript library for building user interfaces.
- Tan Stack: A set of libraries for building data-rich applications with React.
- Zustand: A small, fast, and scalable bearbones state-management solution.
- Supabase: An open-source Firebase alternative for authentication and database.
- TypeScript: A superset of JavaScript that adds static types.
- Vite: A fast build tool that provides a modern development experience.
- Vitest: A fast unit test framework powered by Vite.
- Playwright: A framework for end-to-end testing.
- ESLint: A tool for identifying and fixing problems in JavaScript code.
- Prettier: An opinionated code formatter.
- Tailwind CSS: A utility-first CSS framework for rapid UI development.
- pnpm: A fast, disk space-efficient package manager.
- Netlify: A platform for deploying and hosting web applications.
- GitHub Actions: For continuous integration and deployment (CI/CD).
- StoryBook: A tool for developing UI components in isolation.Storybook
- Node.js (use v22.15 or later)
- pnpm (v8.6 or later)
- Clone the repository:
git clone [email protected]:HelgaZhizhka/yes-code-merch.git
- Navigate to the project directory:
cd yes-code-merch - Install dependencies:
pnpm install pnpm start
- Create a
.envfile in the root directory and add your Supabase credentials:VITE_SUPABASE_URL=your_supabase_url VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
- Start the development server:
pnpm dev
- Open your browser and navigate to
http://localhost:5173to view the application.
- Unit Tests:
pnpm test - E2E Tests:
pnpm test:e2e
- Linting:
pnpm lint
- Formatting:
pnpm format
To build the application for production, run:
pnpm buildThis will create a dist directory with the production-ready files. You can then deploy these files to your preferred hosting service.
This project is licensed under the MIT License. See the LICENSE file for details.