A simple key value store I built as a learning-project. Not intended for production, use a proper database for that ;).
With go installed, compile the code:
go build
The REPL is started by starting the program without any other CLI commands:
./byod
Inside the REPL type PUT
followed by a key and a value:
PUT hello world
the database will respond with a success or error message.
In the REPL type GET
followed by a key:
GET hello
the database will respond with a success message containing the most recent value stored for that key. In case of error an error message will be printed.
./byod put [key] [value]
./byod get [key]
Configuration is stored in a .env
file. See .env.sample
for config option names and example values.
- Proper console / REPL using a readline library
CLI interface- ACIDity
- Indexing
- Transactions
- HTTP interface
- Dockerization
- Distributed cluster mode
… and much, much more.