Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.66 KB

README.md

File metadata and controls

24 lines (16 loc) · 1.66 KB

logger-app 📠

Build Status Codacy Badge codecov Known Vulnerabilities

This is a standalone NodeJS application which acts as a gRPC server. Wait, what is gRPC?🔍

What it does 🤔

Logger-app can log event to a log file. The contract for communicating with gRPC server is defined by the event.proto file. event.proto is a Google Protocol Buffer which lays the foundation of communication medium for gRPC framework.

Currently there is one service defined in event.proto file. Therefore, it is only possible to call logToFile() from a remote client.

How to run 🏃🏽‍♂️

Prerequisite:

Ensure logger-eureka-server instance up and running on your local machine. Then,

  • clone the repository to your machine [git clone https://github.com/JudeNiroshan/logger-app.git]
  • move to logger-app [cd logger-app]
  • execute npm i
  • execute npm run start (start the gRPC server and waiting for incoming events)