Cosmic JS Blog Stay tuned for community news, company announcements and updates from the Cosmic JS team.

The Cosmic Stack


There is a powerful trend happening in technology.  It is a shift from confined, installed systems into a more free, micro-services economy.  This can be seen in the consumer space from people choosing to stream music instead of downloading MP3s, choosing to Uber to work rather than drive their personal car and people choosing to order groceries to their door from Amazon instead of going to the grocery store.

Cosmic JS is taking this empowering concept to web development.

We no longer need nor should we be putting our content in a box.  There is a vast array of devices from desktop to mobile to watches to cars that need flexible and easily accessible content.  The only way to provide content to these destinations is to start our content in the place it will eventually need to go: the API.  Cosmic JS provides you with a powerful CMS API that will scale your digital properties and your business.

What does the Cosmic Stack look like?

Since we have seen enormous benefits by removing the installed CMS, we decided to remove web hosting as well.  Now your application stack only needs the Cosmic JS CMS API and a code repository.  What was once a mess of connections between various applications and servers is now boiled down to simply:

1. GitHub repo
2. Cosmic JS CMS API
3. Cosmic app server

Why is this so powerful?

The Cosmic Stack is big because you no longer need to maintain or configure infrastructure for your website or app.  You now only have two places to review work, Cosmic JS and GitHub.  No longer do you have to worry about code being deployed improperly or someone pushing up the wrong branch to your hosted server.  Everything is set to be put into a process of checks and balances within your team.  No longer do you have to worry about files or data being out of sync between testing, staging and live instances.  All content, data and files are synced to the Cosmic JS API.

What’s the benefit?

The benefit is in development hours saved and sanity.  No installation.  No configuration.  Just content and code.  Your content is hosted in Cosmic JS and your code is pushed from your GitHub repo to the Cosmic app server.

Some folks using the Cosmic Stack have reported a 75% reduction in dev time spent and an overall faster, less complicated and more streamlined development process.

The Cosmic Stack helps teams be more efficient and can dramatically increase your project's bottom line.  Try the Cosmic Stack out and let us know what you think.  Join us on our Slack channel or reach out to me on twitter.  I look forward to seeing what you build!

You may also like


In this article, I’m going to show you how to create an easy-to-manage website navigation menu using the powerful Cosmic JS Metafields.  Because navigation needs to be both flexible and nestable Cosmic JS Metafields allows you to create nestable data structures with parent / child relationships easily with a simple drag and drop in the CMS.  Cosmic JS has made this once time-consuming task easy to implement in any website codebase and intuitive to manage in the Cosmic JS CMS API.

We're happy to announce that you now have the ability to publish your Objects at a later date and time.

Next.js is an amazing new addition to the React open-source ecosystem.  It is “a minimalistic framework for universal server-rendered React applications” that makes the process of building these types of applications much faster and easier.  Recently I demoed a new app on the Cosmic JS app page that is built using the Next.js framework.  I’ve built a few React Universal apps from scratch before and I found taking the Next.js route to speed things along quite a bit.  And adding content management capability from Cosmic JS was very intuitive.

In this article, I will show you how you can use Cosmic JS to deploy your own JAMstack website in just a few clicks.  When you JAM with Cosmic, you not only get the benefit of a fast, optimized static website, but your content is also available in the Cosmic JS API.

When building websites connected to a CMS, it is important that the content is structured as simply as possible for the end user to edit.  I call this user-first content development.   It benefits everyone – the content editor, the developer and the agency when the developer makes sure the content editor is empowered with the easiest and most intuitive way to manage content.  This seems obvious, but this oversight happens all too often and results in confusion and ultimately a bad experience which is bad for everyone  the developer, the content editor and the agency.

In this video I walk you through adding localization to your Cosmic JS object types.  This allows you to add versions of your content in different languages and locales.

There is also a Localization Example App available on the  Cosmic JS Apps page.