Skip to content

rugvedp/ecommerce-clone

Repository files navigation

E-Commerce Clone

This project is an eCommerce clone built using Express.js for the backend, MongoDB for the database, and EJS for the frontend. It aims to provide a basic eCommerce platform with features such as a working cart, user authentication, and product management.

Features

  • Product browsing
  • Product details display
  • Adding products to the cart
  • Updating and removing items from the cart
  • Checkout process (basic implementation)
  • Responsive design for various screen sizes

Screenshots

Products Page Products Page Mobile

Product Page Product Page Mobile

Technologies Used

  • Express.js: Used for building the backend server and handling HTTP requests.
  • MongoDB: NoSQL database used for storing product data, user information, and session management.
  • EJS (Embedded JavaScript): Frontend templating language used for rendering dynamic content on the server-side.
  • Bootstrap: Frontend framework used for styling and layout.
  • Express-session: Middleware used for session management.

Getting Started

Prerequisites

  • Node.js installed on your local machine.
  • MongoDB installed and running locally or accessible remotely.

Installation

  1. Clone the repository: git clone https://github.com/rugvedp/ecommerce-clone.git

  2. Navigate into the project directory: cd ecommerce-clone

  3. Install dependencies: npm install

  4. Start the server: node .

  5. Access the application in your web browser at http://localhost:3000.

Hosted Version

You can also try out the hosted version of this project here.

T-Shirts Information

If you want to download t-shirts information, download the tees.json file and import it into MongoDB.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request.