-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement API to showcase activities of a user to the admins #148
Comments
@vaibhavdaren @devesh-verma Please add your view. Also is there any other optimal method we can use? |
|
@kmehant Here is the issue to start with and the given below approach we are going to use.
|
I am thinking of this data model for storing user activity on redis cache
I have adopted this model for making use of atomic operations of redis. When pushing to mongodb, we we can simply join the routes with their timestamp lists by matching the hashes and push it to User collection. |
Great @kmehant, Also when you push the data to db then store that in a simple array of objects. |
@Rupeshiya @vaibhavdaren @devesh-verma |
Is your feature request related to a problem? Please describe.
As of now, there is no such API that can showcase the activities of a particular user on the platform. So the feature request is to implement the API for tracking the activities of the user which only admins can check.
Describe the solution you'd like
Implement REST API for tracking user activities.
We can implement this in either of the two ways listed below (from my point of view)
Note: This is not realtime implementation
The text was updated successfully, but these errors were encountered: