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
- 01
Build the REPL input loop
~1.5hRead lines from stdin in a loop, splitting each into a command and arguments.
- 02
Implement the core store operations
~1.5hImplement get, set, and delete operations against a HashMap<String, String>.
- 03
Add list and clear commands
~1hAdd a command to list all keys and one to clear the entire store.
- 04
Add save/load to a file
~2hAdd commands to persist the store to a JSON file and reload it on startup.
Resources
- DocsThe Rust Book
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