https://github.com/judeniroshan/logger-app
Write event data as log entries ✍️ ➡️➡️➡️ 📁🗄️
https://github.com/judeniroshan/logger-app
grpc-server nodejs-api protobuf3
Last synced: about 1 year ago
JSON representation
Write event data as log entries ✍️ ➡️➡️➡️ 📁🗄️
- Host: GitHub
- URL: https://github.com/judeniroshan/logger-app
- Owner: JudeNiroshan
- Created: 2020-03-05T18:27:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-06T02:55:30.000Z (over 1 year ago)
- Last Synced: 2025-02-15T02:17:52.734Z (over 1 year ago)
- Topics: grpc-server, nodejs-api, protobuf3
- Language: JavaScript
- Homepage:
- Size: 1.22 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# logger-app 📠
[](https://travis-ci.org/JudeNiroshan/logger-app)
[](https://app.codacy.com/manual/JudeNiroshan/logger-app?utm_source=github.com&utm_medium=referral&utm_content=JudeNiroshan/logger-app&utm_campaign=Badge_Grade_Dashboard)
[](https://codecov.io/gh/JudeNiroshan/logger-app)
[](https://snyk.io/test/github/JudeNiroshan/logger-app?targetFile=package.json)
This is a standalone NodeJS application which acts as a gRPC server. [Wait, what is gRPC?](https://grpc.io/)🔍
#### 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](https://github.com/JudeNiroshan/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)