In this blog I will demonstrate deploying a Voting App in 3 steps. The voting app I’m deploying uses React for UI, MobX for state management and React Bootstrap for the frontend framework. Add unlimited polls, upload images for each option and each poll has its own unique link. I chose to make my poll for the NFL, but you can poll users on anything you’d like.
I’ll be using Cosmic JS to deploy this Voting Application. Cosmic JS is an API-first CMS that makes managing and building websites and applications faster and more intuitive. By decoupling content from code, Cosmic JS empowers developer flexibility by allowing developers to build apps in any programming language. Content editors can plan and deploy content as it best suits them.
If you haven’t already, get started by Signing Up for Cosmic JS. Helpful resources are provided below to streamline your development operations.
cosmicjs/cosmicapp-voting-app_cosmicapp-voting-app - A voting app built using React, MobX and Cosmic JS_github.com
Your bucket’s name is the name of your website, project, client or web application that you are building.
Cosmic JS gives you the ability to filter between programming languages such as Node.js, Vue.js, React, AngularJS and more.
I clicked “Deploy to Web”. I can then edit Objects while my web application is deploying. You will receive an email confirming the deployment of your web application. If you encounter any issues during deployment, you may be routed to the Cosmic JS Troubleshooting Page.
Now that your app is deployed to the Cosmic JS App Server, you’re free to completely manage your Voting App, its users and all of its content from one place.
Cosmic JS is an API-first cloud-based content management platform that makes it easy to manage applications and content. If you have questions about the Cosmic JS API, please reach out to the founders on Twitter or Slack.
Carson Gibbons is the Co-Founder & CMO of Cosmic JS, an API-first Cloud-based Content Management Platform that decouples content from code, allowing devs to build slick apps and websites in any programming language they want.