/rust-redis-web-example

Example of Using Redis in a Rust Web Application

Primary LanguageRustApache License 2.0Apache-2.0

rust-redis-web-example

Example of Using Redis in a Rust Web Application implementing three different ways to use redis within a warp web service:

Setup

To start, run:

make dev

And a local redis instance:

docker run -p 6379:6379 redis:5.0

And then you can test the different endpoints with:

curl http://localhost:8080/mobc
mobc_world

curl http://localhost:8080/r2d2
r2d2_world

curl http://localhost:8080/direct
direct_world