- OS - Linux preferd
- Docker
- Docker Compose
// Build container and run redis on local pc
sudo make build
// run the c++ program
bash run.sh
curl -X POST -H "Content-Type: application/json" -d '{"id":"1", "name":"John", "age":"30"}' http://localhost:8080/users
curl http://localhost:8080/users/1
curl -X PUT -H "Content-Type: application/json" -d '{"name":"John Doe", "age":"35"}' http://localhost:8080/users/1
Delete a user (DELETE):
curl -X DELETE http://localhost:8080/users/1