Skip to content

chmoder/rust-practice-warp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-practice-warp

Example warp rust server with redis

Setup:

  1. Install redis server
  2. Install rustup https://rustup.rs/
  3. clone this repo
  4. cargo run --package warp-server-redis --bin warp-server-redis --release

Usage:

POST /register HTTP/1.1
Host: 192.168.1.2:3030
Content-Type: application/json

{
    "username": "tcross",
    "password": "password"
}
POST /login HTTP/1.1
Host: 192.168.1.2:3030
Content-Type: application/json

{
    "username": "tcross",
    "password": "password"
}

About

example warp rust web server with redis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages