Skip to content

SagarMaheshwary/microservices-user-service

Repository files navigation

MICROSERVICES - USER SERVICE

User Service for the Microservices project.

TECHNOLOGIES

  • NestJS (Typescript)
  • gRPC – Serves as the main server for inter-service communication
  • PostgreSQL – Stores user data
  • TypeORM – ORM (Object-Relational Mapper) for PostgreSQL
  • Prometheus Client – Exports default and custom metrics for Prometheus server monitoring

SETUP

Follow the instructions in the README of the main microservices repository to run this service along with others using Docker Compose.

APIs (gRPC)

Proto files are located in the src/proto directory.

SERVICE RPC DESCRIPTION
UserService Store Create user
UserService FindById Find user by id
UserService FindByCredential Find user by email and verify the given password, used by authentication service for user login
Health Check Custom service health check implementation, similar to grpc-golang.

APIs (REST)

API METHOD BODY Headers Description
/metrics GET - - Prometheus metrics endpoint

About

Manages user profiles and settings using gRPC and PostgreSQL for internal user data operations.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published