Skip to content

A microservice to store and manage the information about users in the ecosystem and their subscriptions and settings

License

Notifications You must be signed in to change notification settings

Kozalo-Blog/user-service

Repository files navigation

user-service

CI Build

This is a simple CRUD application written in Rust which is supposed to be a centralized storage of users' information and options throughout the whole ecosystem of my projects (like Telegram bots in kozalosev's repositories).

Features

  • REST endpoints (using axum);
  • gRPC services (using tonic);
  • Prometheus-like metrics;
  • sqlx connection pool for PostgreSQL and macros to check queries statically at compile time.

Technical stuff

Requirements to run

  • PostgreSQL;
  • [optional] Docker (it makes the configuration a lot easier);
  • a frontal proxy server with TLS support (nginx-proxy, for example).

How to rebuild .sqlx queries?

(to build the application without a running RDBMS)

cargo sqlx prepare -- --tests

About

A microservice to store and manage the information about users in the ecosystem and their subscriptions and settings

Resources

License

Stars

Watchers

Forks

Packages

No packages published