Skip to content

A modern and user-friendly online clothing shop built with React and Express.js

License

Notifications You must be signed in to change notification settings

maks-kovpak/online-clothing-shop

Repository files navigation

Online Clothing Shop

Welcome to Shop.co, your go-to online clothing shop! This repository contains the source code for the web application, built with React for the frontend and Express for the backend.

Table of Contents

Features

  • User Authentication: Secure user registration and login functionality.
  • Product Catalog: Browse through a wide range of clothing items with detailed information.
  • Shopping Cart: Add products to your cart and proceed to checkout.
  • Order Management: View and track your order history.
  • Responsive Design: Enjoy a seamless experience on both desktop and mobile devices.
  • Admin Panel: Manage products, users, and orders with ease.

Prerequisites

Before you begin, ensure you have the following installed:

Getting Started

  1. Clone the repository:

    git clone https://github.com/maks-kovpak/online-clothing-shop.git
  2. Navigate to the project directory and install dependencies:

    cd online-clothing-shop
    yarn install
  3. Configure environment variables:

    • Create a .env file in both the client and server directores.
    • In the client folder, the environment variables are exposed in the vite-env.d.ts file.
    • For the server folder, you can find the declaration of environment variables types in the node-env.d.ts file.
    • Set custom values for some variables.
  4. Start the development servers:

    • For the client:

      yarn client:dev
    • For the server:

      yarn server:dev
  5. Visit http://localhost:5173 in your browser to access the application.

Folder Structure

The project is organized into two main directories:

  • client: Contains the React frontend code.
  • server: Houses the Express backend code.

Feel free to explore each directory for more details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A modern and user-friendly online clothing shop built with React and Express.js

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages