/clothberry

Primary LanguageTypeScript

Clothberry

The Clothberry ecommerce project aims to build a robust online store with CommerceTools integration.

Upcoming Goals:

  • User login, registration, authentication
  • Main pages with available promo codes
  • State management and routing
  • Catalog browsing with API integration
  • Detailed product pages with image galleries
  • User profile editing
  • Filtering and search
  • Enhance product pages
  • Build shopping cart with promo codes
  • Create about us page
  • Improve routing

The focus is on iterative development, adding new features and enhancements each sprint. Key priorities are smooth CommerceTools integration and robust front-end implementation.

Getting Started

  1. Install dependencies
npm  install
  1. Run dev server
npm run dev

This will start the dev server at http://localhost:3000.

  1. Build for production
npm run build

This will generate a production build in the dist folder.

Linting and formatting

This project uses ESLint, Prettier, and Stylelint for linting and formatting. You can check for issues by running:

npm run eslint
npm run prettier
npm run stylelint

And fix many auto-fixable issues with:

npm run eslint-fix
npm run prettier-fix
npm run stylelint-fix

Scripts

Other available scripts:

  • npm run preview - Preview production build locally
  • npm run test - Run tests
  • npm run coverage - Run tests coverage
  • npm run prepare - Install husky

Technology stack

React, Redux Toolkit, Vite, TypeScript, HTML, CSS, CSSModules, ESLint, Stylelint, Prettier, Vitest, Husky.