aadeshkulkarni / figuringout

Blogging + Social Media + AI | Opensource | Javascript | ReactJS | HonoJS | Prisma
https://figuringout.life
MIT License
92 stars 92 forks source link

Feature/recommended blogs #212

Closed shubbhhh closed 3 months ago

shubbhhh commented 3 months ago

Added recommended Blog feature

Created a new backend route for recommended subscribers

Description

Resolves #203

Type of Change

Changes

Screenshots/Recordings

image

Returns the postIds of top 5 most liked bolgs

Checklist before requesting a review

Additional Notes

Route was added above "/:id" so that for "/recommended", id != recommended

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
medium-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 8:54am
aadeshkulkarni commented 3 months ago

The frontend will eventually render them as cards. Therefore, we would need the entire posts object instead of just the postId.

shubbhhh commented 3 months ago

Made the changes now route returns entire post object.

image

aadeshkulkarni commented 3 months ago

Thanks for your contribution.