The new Cosmic dashboard is here!
Test drive it now →

QuickStart a Serverless App using a Headless CMS API

Community Articles
Community Articles 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 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 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 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 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 to get a project up and running in seconds. šŸ”„

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

You may also like


In this tutorial I'll be showing you how I built a Vue.js app with Authentication using Cosmic and AWS Lambda prior to deploying to Netlify. Let's get started.
Cosmic makes it easy to manage content for your Vue.js applications. In this blog we'll quickstart a Vue.js RPG Adventure Game using the Cosmic CLI. Our game, "Enter The Cosmos", is a turn-based, RPG style game built using Vue.js, Node.js and Cosmic.
Cosmic makes it easy to deploy your websites and applications to the web. You can deploy an app from any git repository to the Cosmic App Server from any Bucket. Cosmic uses Dokku (Docker + Heroku-like deployment) to deploy your app from any GitHub, BitBucket or any other public repo.
In this tutorial, Iā€™m going to give you an overview of Mux Extension, talk about the benefits of adding Mux to your Cosmic Bucket and show you how to install it to your Bucket in a few clicks.
For simple shopping websites, going with full-fledged solutions like Shopify or Woocommerce can be a total overkill. In this tutorial, we're going to build an e-commerce website using Nuxt and Cosmic.
This article will demonstrate how to build a simple ecommerce website with the purpose of showing how we can offer a customized experience for everyone. Our data will be stored and served by Cosmic and we will use Angular for our Front-End.

Get started with Cosmic

Personal projects are free. Scale up as you grow.
Start building Talk to sales