QuickStart a Serverless App using a Headless CMS API


The Serverless movement is empowering developers to build apps rather than focus on infrastructure. The Serverless team characterizes their mission as "Ultimately, serverless is about focusing your efforts on what provides value to your users."

Serverless apps thrive on content and need a way for dynamic content changes to occur while still enjoying the speed and light-weight nature of going serverless. Utilizing a headless CMS to integrate with a Serverless application is a breeze and allows developers to build their application using the most modern frameworks while giving their marketers and content managers an intuitive web-based Dashboard to manage content. 

Cosmic JS offers a headless CMS that enables content managers and developers to work better together. By providing an intuitive Admin Dashboard, powerful APIs, and flexible user roles, applications are built faster, more light-weight, and your whole team ends up saving time in the process. Cosmic JS makes it easy to manage content for your Serverless applications, and in this blog I'll demonstrate how fast it is to install the Cosmic-powered Serverless Starter. 



TL;DR:

Serverless Starter
Developer Docs
Serverless Knowledge Base
Developer Articles: Serverless

QuickStart a Serverless App using a Headless CMS API

Cosmic JS is an example of a robust headless CMS and API that's promoting collaboration on cross-functional teams to build apps faster. Get started building Cosmic-powered apps in seconds 🚀 We have Node.js, React, Vue, Gatsby and Serverless Starters to help you get your project started quickly.


🛠️ Installation

Install via the Cosmic CLI:

I set up an example Bucket for this blog:


Run cosmic -h for a list of all commands. Run cosmic [command] -h for details on options for a specific command. You're now up and running with a Serverless Starter that can be managed entirely from your Cosmic JS Bucket Dashboard and Command Line Terminal tool of choice. 


Conclusion

When ditching the installed content management system and going API-first isn't quick enough, check out the Starter Apps from Cosmic JS to get a project up and running in seconds. 🔥

If you have any comments or questions about building Vue apps with Cosmic JS, reach out to us on Twitter and join the conversation on Slack.