This is an implementation for CodeCrafters.io Build you own Redis challenge.
- PING
- ECHO
- SET
- GET
- EXPIARY
- Storing on disk
- Save Commands
- Load Commands from file
- Python >= 3.8 installed
- Clone the repository
git clone https://github.com/a7medayman6/Tiny-Redis/
- Spawn a redis server
./spaw_redis_server.sh
- Install Redis-cli
- Run redis commands using redis cli while the server is running.
redis-cli PING
# PONG
redis-cli ECHO hello world
# hello world
redis-cli SET x 5
# OK
redis-cli GET x
# 5
redis-cli SET y 6 px 10
# OK