app that tracks user events
npm i
npm test
npm start
#How to add more events to track?
just edit array of events const events = ['mousemove', 'click'];
at client/main.js
#Questions to think about:
- To track events count from all users - create endpoint that will aggregate data
- To implement player - store events with timestamps and coordinates separately
- To handle billions of events - the storage should be switched to ClickHouse or something else that can handle big amounts of data