akash3444 / hashnode-clone

A Hashnode clone built using the new app router, server components and everything new in Next.js 14.
https://hashnode-hub.vercel.app/
MIT License
5 stars 1 forks source link

Question: Narrowing scope for feed to just a single blog #1

Open DarkNeedle opened 3 months ago

DarkNeedle commented 3 months ago

Question I have, I like the way this was constructed, very clean. What would be the necessary changes to narrow the scope of the feed to just a single blog. Almost like a pure blog template? I assume the GraphQL query would have to be extended in queries.ts and adjustment to the API in feeds to add a getPostList or such. Or is there a better way to just modify the Feed query/api to just pull back a single blog feed. using the example of engineering. hashnode.com

thanks DN

akash3444 commented 3 months ago

@DarkNeedle Yeah, you could definitely narrow the scope of the feed to just a single blog. However, I suggest using Hashnode Starter Kit for ease of access and additional benefits.