This is a collaborative project by AlexanderMisyura, kelzerock and zzzhuchok as a part of the RS School Frontend course. The THE TEAM eCommerce app is an online LEGO set marketplace that uses the Commerce Tools API to mirror the conventional shopping cycle. It offers the full shopping experience, from registration and browsing to adding products to a shopping cart.
The data used in this application is not intended for commercial gain. All names and trademarks, including LEGO®, Batman™, Star Wars™, Technic™, and The Lord of the Rings™, are the property of their respective owners. They are used here solely for illustrative and educational purposes, as building and contributing to a fun project is more engaging.
- Language: Typescript
- Framework: React
- Bundler: Vite
- Testing: Vitest, React Testing Library
- UI: Material UI (MUI)
- Styling: Tailwind
- Routing: React Router (Data mode)
- Code Quality: ESLint, Prettier, Stylelint
- Git Hooks: Husky
- Node.js (v22 or higher)
- npm (v10 or higher)
- A Commerce Tools Merchant Center account.
- Create an API Client in your Merchant Center with the scopes listed in .env.example.
- Setup Product Types, Products, Categories and Discounts in your Merchant Center. Categories should have a maximum one level subcategory depth.
- Turn ON the Product Search and Product Projection Search feature in your Merchant Center.
- Make a fork of the repository.
- Clone the forked repository to your local machine.
- Install dependencies with
npm install. - Create a
.envfile based on the .env.example file and fill in the required values. - Start the dev server with
npm run dev. - Open your browser and navigate to
http://localhost:5173.
Please, read our Contributing Guideline.
npm run dev: starts the development servernpm run build: builds the production versionnpm run lint: checks code quality with ESLintnpm run lint:fix: automatically fixes linting errors with ESLintnpm run stylelint: checks styles' code quality with Stylelintnpm run format: formats code with Prettiernpm run format:check: verifies code formatting with Prettiernpm test: runs tests with Vitestnpm run coverage: runs tests with Vitest and generates coverage report