golang in-memory
go build
./yemekSepeti
go test ./internal/handlers/commands
go test ./internal/handlers/queries
TIME_INTERVAL_IN_MINUTES=30 go run main.go
POST /api/keys
{
"testKey": "testValue"
}
{
"testKey": "testValue"
}
GET /api/keys/:key
{
"testKey": "testValue"
}
DELETE /api/keys
{
"message": "Store flushed successfully!"
}
GET /api/keys
[
{
"key0": "value0"
},
{
"key1": "value1"
}
]
docker pull berkay94/yemek-sepeti:latest