- Config manager: Simple setup using the
config.yaml
file. - Input validation: All RPC calls are validated by an interceptor.
- Graceful stop: Stop the server with
Crtl+C
- Role based authorization
- Config file Watcher
- TLS
- ...
Setup the service instace by editing config.yaml
.
service:
api: "v0.1"
port: 50014 # now this is harcoded
database:
name: "accounts-service"
user: "app-user"
password: "changepass"
host: "localhost:3306"