OLX Clone

Overview

This project is a clone of OLX, an online marketplace for buying and selling a variety of products and services. It is built using the MERN stack, which includes MongoDB, Express, React, and Node.js. The project is organized into two main directories: backend and frontend.

Project Structure

  • backend/: Contains the server-side code and configuration for the backend.
  • frontend/: Contains the client-side code and assets for the frontend.

Getting Started

To get started with the OLX Clone project, follow these steps:

Prerequisites

  • Node.js (version 14 or later)
  • npm (Node Package Manager) or yarn
  • MongoDB instance (local or cloud)

Setup

  1. Clone the Repository

    git clone [https://github.com/yourusername/olx-clone.git](https://github.com/pruthviraj7714/olx-clone.git)
    cd olx-clone
    
  2. Backend Setup

    • cd backend
    • npm install
    • cp .env.example .env
    • npm run start
  3. Frontend Setup

    • cd frontend
    • npm install
    • npm run dev

The frontend application will be available at http://localhost:3000 by default.