User Service for the Microservices project.
- 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
Follow the instructions in the README of the main microservices repository to run this service along with others using Docker Compose.
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. |
API | METHOD | BODY | Headers | Description |
---|---|---|---|---|
/metrics | GET | - | - | Prometheus metrics endpoint |