This project delivers a complete online shopping experience. Built with TypeScript and powered by CommerceTools API, the platform combines modern web development practices with eCommerce functionality to showcase artisanal craftsmanship in a digital space.
-
Responsive product catalog with advanced filtering and searching functions
-
Immersive product pages showcasing grain details and artisan stories
-
Checkout flow includes customer registration and authorization forms
-
Add items to a shopping cart and proceed to checkout securely.
-
User accounts with ability manage shipping details
-
Frontend:
- Vite
- React
- Typescript
- Tanstack
- Zod
- SСSS
- Mui
-
Backend
- CommerceTools
-
Testing:
- Vitest
- Testing Library (Jest-DOM, React)
-
Code Quality
- ESLint
- Prettier
- Husky
- Commitlint
- Lint-staged
- Stylelint
Please follow the instructions below to configure and run the project locally:
-
Clone the repository;
-
Change the directory to the project folder:
cd e-commerce-application; -
Install dependencies:
npm install; -
Run the project:
npm run start.
To execute a script, use the command npm run followed by the script name from the list below:
-
dev: starts Vite development server -
build: creates production-optimized bundle, the result is available in adistfolder -
lint: runs ESLint static analysis to analyze code for errors and style issues. -
preview: locally serves the production build for testing -
format: automatically formats code using Prettier. -
prepare: sets up Git hooks with Husky for pre-commit checks -
test: runs unit tests with Vitest in terminal mode -
test:ui: launches the Vitest interactive test UI -
coverage: generates a code coverage report via Vitest.