VIDEO: From Markdown to Cosmic JS with Gatsby


The beauty of using a static site generator is that your back end can be completely separated from your front end. You can easily swap it out at any time no questions asked, and that's exactly what I did with Learn Build Teach. I went from markdown files to a true headless CMS in Cosmic JS for my courses information.


The Why

Why would I want to make this shift you might ask? Well, by completely decoupling my front end and backend, it gives me some flexibility. I have the ability to swap out my backend at any time as I mentioned. But also, it gives me the ability to leverage that data on multiple different front end applications. 


Additionally (and this is the big sell for Cosmic JS), if I am going to have non developers contributing to my content, they get an easy to use GUI to update information. Writing markdown files isn't extremely difficult, but it certainly can be tricky for people that are new to it. With Cosmic JS, anyone with access can easily create/update content in a comfortable environment!






Was this article helpful?

Thank you! Your input helps us improve our articles and resources. If you have any other questions or comments, please contact support.

You may also like


In this tutorial I'll be showing you how I built a Vue.js app with Authentication using Cosmic JS and AWS Lambda prior to deploying to Netlify. Let's get started.
Here I am going to explain the complete process to implement an Angular 6 blog, which uses Cosmic JS as back-end.
To demonstrate how easy it is to get started with Cosmic JS, we'll utilize the Cosmic JS CLI to quickstart a React Auth App. This app shows implementation of Authentication in ReactJS, NextJS and NodeJS using the Cosmic JS API. This app has all the basic modules like signin, signup, view/edit profi
Why should you migrate your CMS? What's the big deal about Cosmic? This article should answer some questions you have about cosmicJS and what the pros and cons are of using an API-driven Content Management System
Iā€™m going to demonstrate how to get started integrating your Cosmic-powered content with your favorite third-party applications using Zapier.
Thanks to everyone in Dallas who came out to the Vuetiful Holiday Meetup at Simple Media, featuring Vuetify, Netlify and Cosmic JS. šŸŽ‰