Skip to content

akshit614/Event-logging-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Event Logging system

  • Backend system that provides a decentralized, tamper-proof event logging platform for distributed applications.

Features

  • Event Logging API to get and post logs of varous actions with details
  • Hashing for Store event logs in a tamper-proof way.
  • MongoDb database for scalable and stable database.
  • Dashboard with table view of logs with previous and current hashes.
  • Zod validations for input schemas.
  • filter based on query params

Tech stack

Backend

  • Node.js with Express.js
  • MongoDB
  • Hashing with SHA-256 for tamper-proof logs
  • Zod library for schema validation

Frontend

  • React.js with Tailwind CSS

Routes

  1. Post api/log
    • To create a new log with input like
    • Below is an example of an event log:
{
  "eventType": "Purchase/login/logout/transfer/anyaction",
  "sourceAppId": "example app",
  "dataPayload": { "username": "abc", "status": "success/pending/fail/any" }
}
  1. Get api/logs
    • To get all the logs of the system
    • Also filtering logs as required based on query parameters

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors