- Backend system that provides a decentralized, tamper-proof event logging platform for distributed applications.
- 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
- Node.js with Express.js
- MongoDB
- Hashing with SHA-256 for tamper-proof logs
- Zod library for schema validation
- React.js with Tailwind CSS
- 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" }
}
- Get
api/logs
- To get all the logs of the system
- Also filtering logs as required based on query parameters