Skip to content

max0n4ik/eCommerce-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🪴 Petal & Pot

Petal & Pot is a modern online store for indoor and outdoor plants, designed for people who want to bring more life, calm, and natural beauty into their homes. We combine the aesthetics of greenery with the convenience of e-commerce — delivering curated plants and elegant pots straight to your door.


🌟 Features

  • Wide selection of decorative and rare indoor plants
  • Smooth and fast shopping experience
  • Integrated with the commercetools e-commerce platform
  • Responsive design for all devices

🚀 Tech Stack

This project is built using modern frontend tools:

  • Vite — blazing-fast development environment
  • ⚛️ React — component-based UI framework
  • 🧠 TypeScript — statically typed JavaScript
  • 🎨 CSS — clean styling, no framework
  • 🛒 commercetools — headless e-commerce backend

🛠️ Local Setup Guide

Follow these steps to set up and run the project locally on your machine:

1.📂Clone the repository

git clone https://github.com/max0n4ik/eCommerce-Application.git
cd petal-and-pot

2.📦Install dependencies

npm install -g pnpm
pnpm install

3.⚙️Configure environment variables

Create a .env file in the root directory and add the following environment variables.

4.💻 Run the development server

pnpm run dev

5.🧪 Run tests

pnpm run test

6.🏗️Build for production

pnpm run build

📜 Available Scripts

1. ✅ Runs ESLint to check for code quality issues.

pnpm run lint:fix

2. 🎨 Runs Prettier to auto-format code according to the project's style guide.

pnpm run format

3. 🧼 Removes dist/ and other generated files to reset the workspace.

pnpm run clean

4. 🪝 Setup Git hooks

pnpm run prepare

5. 🧪 Test Coverage

pnpm run test:coverage

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5