nicolaspearson / rust.redis.web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust.redis.web

An example of using Redis in a Rust web application implementing three different ways to use redis within a warp web service:

Getting Started

To run the application in dev mode:

  1. Start the redis instance:
docker run -p 6379:6379 redis:6.0
  1. Starting the application:
make dev
  1. Test the different endpoints using:
curl http://localhost:8080/mobc
mobc_world

curl http://localhost:8080/r2d2
r2d2_world

curl http://localhost:8080/direct
direct_world

About

License:MIT License


Languages

Language:Rust 94.1%Language:Makefile 5.9%