Skip to content
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

Make Github like personalized feed for each user #4

Open
MridulDhiman opened this issue Sep 23, 2024 · 0 comments
Open

Make Github like personalized feed for each user #4

MridulDhiman opened this issue Sep 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request new feature Add something new to the project

Comments

@MridulDhiman
Copy link
Collaborator

MridulDhiman commented Sep 23, 2024

Problem Statement:

In CodeShard, users can create new shard, follow each other, like and comment on each other shards. Create a personalized github like feed for each user using most recent activities of each user's following list. Activity can be anything, like following another user, liking and commenting on another shard.

Technical Details

  • Make use of Activity and Feed mongoose models
  • a cron job should run every 10 minutes and it should run /api/cron route.

References

https://github.com/MridulDhiman/code-shard/blob/master/app/api/cron/route.js
https://github.com/MridulDhiman/code-shard/blob/master/models/Activity.js
https://github.com/MridulDhiman/code-shard/blob/master/models/Feed.js
https://github.com/MridulDhiman/code-shard/blob/master/lib/actions.js

@MridulDhiman MridulDhiman added enhancement New feature or request new feature Add something new to the project labels Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new feature Add something new to the project
Projects
None yet
Development

No branches or pull requests

2 participants