Skip to content

Latest commit

 

History

History
55 lines (45 loc) · 1.54 KB

README.md

File metadata and controls

55 lines (45 loc) · 1.54 KB

Cart System App

This repository contains the code for a Cart System application implemented using React for the frontend and Node.js with Express for the backend. The application allows users to add products to their cart, update quantities, and proceed to checkout.

Features

  • Product listing: The application displays a list of available products with details such as name, price, and image.
  • Cart management: Users can add products to their cart, update quantities, and remove items from the cart.
  • Postal Code: Users can add their postal code.
  • Estimate Delivery time: The application will display estimate delivery time when user add postal code.

Technologies Used

  • React: A JavaScript library for building user interfaces.
  • Node.js: A JavaScript runtime for server-side development.
  • Express: A minimal and flexible web application framework for Node.js.

Getting Started

To get a local copy of the project up and running, follow these steps:

Prerequisites

Node.js and npm installed on your machine

Installation

  1. Clone the repository:
git clone https://github.com/your-username/cart-system.git
  1. Navigate to the project directory:
cd cart-system
  1. Install the dependencies for both the frontend and backend:
# Install frontend dependencies
cd frontend
npm install
# Install backend dependencies
cd backend
npm install

Start the development servers:

For the frontend, in the frontend directory, run:

npm start

Start the backend server:

For the backend, in the backend directory, run:

npm start