Boilerplate examples for frontend frameworks

Is there somewhere one could download actual working boilerpalte examples of next.js and/or the other frontend frameworks working with the Ghost API?

In the case of Gatsby, the fastest way to get started is with the official Gatsby Starter Ghost repository, which contains a light scaffolding of queries and templates to get a brand new site up and running.

Here’s the repo: GitHub - TryGhost/gatsby-starter-ghost: A starter template to build lightning fast websites with Ghost & Gatsby
And the demo site: https://gatsby.ghost.org

Gatsby also has a complete tutorial on how to source from Ghost. Check it out. Sourcing from Ghost | Gatsby

Also checkout the Eleventy starter template - GitHub - TryGhost/eleventy-starter-ghost: A starter template to build websites with Ghost & Eleventy

For more detailed listing of all frameworks, checkout the documentation: Ghost Content API Documentation

Let me know if that helps. :slight_smile:

2 Likes

Kinda like this, but these are the static generators, I’m specifically looking for something working for the dynamic frontends - next.js/nuxt.js.

A quick GitHub research and I found this:

Hope it helps. Good luck!

There’s also quite a few docs on how to work with Ghost on different frontends: Ghost Content API Documentation

Next.js/Nuxt.js are also amongst them

1 Like