1.4.2 • Published 3 years ago
utils-service v1.4.2
Utils Service
Description
The Utils service is aimed at gathering up various utilities used by different services.
Rationale
This approach helps us avoid duplication of effort and reduce unnecessary resource usage.
Architecture
This service is a simple NodeJS REST API, based on the boilerplate using the provided middlewares.
Features
- IP data: Retrieve IP data when providing an IP Address:
GET
/ip-data?ip=insert-ip-address-here
- TOTP: Create and Verify TOTPs. Useful for verifying phone numbers or for MFA
RBAC
All routes are currently available for anyone to use.
Pre-Requisites
N/A
Usage
npm run start:dev
to run in watch mode
Testing
npm test
to run tests