Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mitinpavel/rocket_redis_r2d2

Example app for Redis + r2d2 connection pool + Rocket.rs
https://github.com/mitinpavel/rocket_redis_r2d2

r2d2 redis rocket rust

Last synced: 8 days ago
JSON representation

Example app for Redis + r2d2 connection pool + Rocket.rs

Awesome Lists containing this project

README

        

# Redis + r2d2 connection pool + Rocket.rs

A simple example app for:
* [Rocket web framework](https://rocket.rs/)
* [Redis db](https://redis.io/)
* [r2d2 connection pool](https://github.com/sfackler/r2d2)

## Tags

Rust, Rocket, Redis, r2d2

## Getting started

Having Redis up and running on `localhost:6379`
```
git clone [email protected]:MitinPavel/rocket_redis_r2d2.git
cd rocket_redis_r2d2/
cargo run
```

## Rust version

```
$ rustc --version
rustc 1.22.0-nightly (a47c9f870 2017-10-11)
```

## Development environment

```
$ uname -a
Linux blah 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

```

## License

MIT