Skip to content

Rust-based auth server, client and heath-check services

Notifications You must be signed in to change notification settings

eambrosio/auth-microservice

Repository files navigation

auth-microservice

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

How to run

  1. To run the server:
cargo watch -c -q -w src/auth-service -x "run -q --bin auth"
  1. To run the health-check:
cargo watch -c -q -w src/health-check-service -x "run -q --bin health-check"
  1. 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.

About

Rust-based auth server, client and heath-check services

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages