DEV Community

Discussion on: Using DEV.to as a CMS

Collapse
 
ctrleffive profile image
Chandu J S • Edited

Awesome! I did the same with Gatsby for my website. 😃
I used gatsby-source-dev plugin for populating my blog section.

Article from my website, here.

The following query was used to get the data.

query {
  allDevArticles {
    edges {
      node {
        article {
          id
          title
          readable_publish_date
          tags
          cover_image
          positive_reactions_count
          slug
          body_html
          url
        }
      }
    }
  }
}

Check the file here