Posted by hadi farnoud on November 22, 2018 at 10:12am
Hello,
I am considering to use headless Drupal as content provider for Gatsbyjs. Our weblog is wordpress at the moment (http://blog.kamva.ir)
since Gatsby.js is a static site framework, I was wondering if any of you considered it. It's super fast! if yes, did you use a Gatsby plugin for it? how did it set up?
I want to use this setup for our main landing page https://kamva.ir

Comments
Hi,Gatsby is a nice
Hi,
Gatsby is a nice choice.
In fact there is one sample gatsby site that uses contenta CMS as api source.
https://using-drupal.gatsbyjs.org/ (Gatsby based website)
https://live-contentacms.pantheonsite.io/ (Drupal Backend)
This gatsby website is hosted in netlify and its api is hosted in pantheon.io server.
And gatsby plugin to fetch data from drupal is:
https://www.gatsbyjs.org/packages/gatsby-source-drupal/
I assume this is just a single page website https://kamva.ir and gatsby will fit right into it.
However, if its a blog, having just homepage as gatsby would not be possible as per my knowledge.
Gatsby want full control of website. It will preload all associated links in homepage after page is loaded in background so that users can have seamless and fast page loading.
If you want to build the entire blog in Gatsby then it will fit right into it with super fast page load.
Best -
Sarath Kumar M
thank you Sarath, Contenta
thank you Sarath, Contenta CMS sounds awesome!
I guess I'll get on it :) will post the results here. using Gatsby with Wordpress is such a pain in neck. That's why I looked into Drupal.
Will be back with new فروشگاه ساز
Hadi Farnoud
فروشگاه ساز | ایمیل مارکتینگ پاکت
Another references
This a blog where you will find a good migration from drupal-frontend to gatsby and some video where the owners of this blog explain why and how.
https://jmolivas.weknowinc.com/moving-weknows-personal-blog-sites-drupal...
thank you so much. that's
thank you so much. that's exactly what I was looking for
Hadi Farnoud
فروشگاه ساز | ایمیل مارکتینگ پاکت
I thought this is a
I thought this is a step-by-step tutorial. looking for that if you know any :)
Hadi Farnoud
فروشگاه ساز | ایمیل مارکتینگ پاکت
If you wanted to know more about why GatsbyJS (shameless plug)
If you wanted to know more about why to use GatsbyJS and how Drupal fit on this new modern development. You can watch my BADCamp presentation "How to keep Drupal relevant in the Git-based and API-driven CMS era"
https://www.youtube.com/watch?v=tWu1xfF18FI
--
http://jmolivas.com/
@jmolivas
thanks Jesus, that was a
thanks Jesus, that was a great talk! makes a lot of sense.
Hadi Farnoud
فروشگاه ساز | ایمیل مارکتینگ پاکت
Gatsby and "Headless" Drupal
I have been reading on this, playing a bit with Gatsby, but one question I haven't yet found answer to is, in a headless setup with Gatsby, a static site builder handling the front end, do I need to have the Drupal site on the production platform, or does it only need to be connected to the Development environment, and the content becomes part of the static site output?