Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 984 Bytes

README.md

File metadata and controls

52 lines (34 loc) · 984 Bytes

Redis Clone in C++

A simple Redis clone implemented in C++ for educational purposes. This project demonstrates the basic functionality of Redis, including in-memory data storage, basic key-value operations, and persistence.

Features

  • In-memory data store
  • Basic Redis commands: SET, GET, DEL, EXISTS
  • Data persistence to disk
  • Simple command-line interface

Getting Started

Prerequisites

  • C++ compiler (supporting C++11 or later)
  • CMake (version 3.10 or later)

Building the Project

  1. Clone the repository:

    git clone https://github.com/samarthshetty09/redis-clone-cpp.git
    cd redis-clone
  2. Create a build directory and navigate to it:

    mkdir build
    cd build
  3. Configure the project with CMake:

    cmake ..
  4. Build the project:

    make

Running the Redis Clone

After building the project, you can run the Redis clone server:

./redis-clone