Rust-based auth server, client and heath-check services
This project aims to show a simple case using gRPC and async calls. Simply for fun and learning, nothing fancy.
NOTE: this project is an exercise from the Let's Get Rusty Bootcamp
- To run the server:
cargo watch -c -q -w src/auth-service -x "run -q --bin auth"
- To run the health-check:
cargo watch -c -q -w src/health-check-service -x "run -q --bin health-check"
- Regarding the client, you can ask for some help from your terminal:
./target/debug/client --help
and you should see something similar to this:
Usage: client [COMMAND]
Commands:
sign-in
sign-up
sign-out
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
and then, you just need to pass the arguments following the command instructions.