module
Version:
v0.0.0-...-967a65d
Opens a new window with list of versions in this module.
Published: Oct 29, 2022
License: MIT
Opens a new window with license information.
README
¶
gRPC Service AuthUsersApp
The following concepts are applied in app:
-
Development of a gRPC service based on a proto file in Go:
- create
- delete
- list users
- authorize user
-
The Clean Architecture
-
Authentication using a stateless approach (JWT)
-
Postgres database using sqlx library.
-
Kafka broker using sarama library.
-
Clickhouse storage using clickhouse-go library.
-
list users, the data is cached in redis for 1 min.
-
Graceful Shutdown.
-
Running app in Docker containers.
-
Client (grpcurl, go-client)
to start the service:
run app in docker containers
make run

Directories
¶
|
|
|
|
|
|
|
|
|
server
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.