In this demo we built a simple Gatsby site powered by a Headless CMS Contentful
Basically we built built the homepage of the following site https://www.movinga.com/ using Gatsby. Then we stored and managed the contents on Contentful. To view the demo just visit the following link https://build-57cd8f98-ac25-45b0-9b72-26f8de56a8a9.gtsb.io/.
Static sites are scalable, secure and have very little required maintenance. They come with a drawback though. Not everybody feels good editing files, building a project and uploading it somewhere. This is where Contentful comes into play.
With Contentful and Gatsby you can connect your favorite static site generator with an API that provides an easy to use interface for people writing content and automate the publishing using services like Travis CI or Netlify.
- remove boilerplate files like
bin/*
and packages related - If we host our site on S3 we need to make sure this issue doesn't affect us.
If so we'd have to use
jaredsilver's solution
. So far we haven't had that issue cause Netlify seems to handle that for us