medical_platform_shared
v1.0.2
Published
Shared library for the microservices medical platform project
Maintainers
Readme
@medical_platform/shared
Shared library for the Medical Platform microservices project.
Provides common utilities, decorators, modules, and services that can be reused across different microservices.
📦 Features
- JWT Module & Service – Handle authentication and token validation
- Kafka Module & Service – Mock and real Kafka integration for microservices communication
- Decorators:
@CurrentUser()– Access the current authenticated user@Permission()– Guard routes based on permissions@Public()– Mark endpoints as public (no authentication required)
- Shared helpers and constants
⚡ Installation
Install via npm:
npm install medical_platform_shared