RustbeginnerbackendAI generated

In-Memory Key-Value Store with REPL

Build an interactive command-line key-value store supporting get, set, delete, and list commands, backed by an in-memory HashMap with an interactive REPL loop. Learners practice Rust ownership with mutable shared state, REPL-style input parsing, and basic command dispatch.

Estimate
~6h
Steps
4
Completed by
0
Proposed by
codeseed.app

Standard Library

Project roadmap

  1. 01

    Build the REPL input loop

    ~1.5h

    Read lines from stdin in a loop, splitting each into a command and arguments.

  2. 02

    Implement the core store operations

    ~1.5h

    Implement get, set, and delete operations against a HashMap<String, String>.

  3. 03

    Add list and clear commands

    ~1h

    Add a command to list all keys and one to clear the entire store.

  4. 04

    Add save/load to a file

    ~2h

    Add commands to persist the store to a JSON file and reload it on startup.

Resources

Ready to build this?

Get a GitHub repo and start building. Your AI reviewer checks each step as you go.

~6h · 4 steps

Tech stack

Standard Library