Using Hashnode's GraphQL API with Nextjs
We will start by going to the Hashnode API playground visit: https://gql.hashnode.com/
To fetch your first 10 publications we use this query
query($host: String!) {
publication(host: $host) {
posts(first: 10) {
edg...
sisodev.hashnode.dev4 min read