You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
Activity
andFeed
mongoose models/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
The text was updated successfully, but these errors were encountered: