paint-brush
Deploy a Voting App in 3 Stepsby@carsoncgibbons
1,175 reads
1,175 reads

Deploy a Voting App in 3 Steps

by Carson GibbonsOctober 24th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this blog I will demonstrate deploying a <a href="https://cosmicjs.com/apps/voting-app" target="_blank">Voting App</a> in 3 steps. The voting app I’m deploying uses <a href="https://cosmicjs.com/knowledge-base/react-cms" target="_blank">React</a> for UI, MobX for state management and React <a href="https://cosmicjs.com/knowledge-base/bootstrap-cms" target="_blank">Bootstrap</a> for the frontend framework. Add unlimited polls, upload images for each option and each poll has its own unique link. I chose to make <a href="http://nfl-voting-app.cosmicapp.co" target="_blank">my poll</a> for the NFL, but you can poll users on anything you’d like.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Deploy a Voting App in 3 Steps
Carson Gibbons HackerNoon profile picture

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

1. Create a New Bucket

Your bucket’s name is the name of your website, project, client or web application that you are building.

2. Install the Voting App

Cosmic JS gives you the ability to filter between programming languages such as Node.js, Vue.js, React, AngularJS and more.

3. Deploy to Web

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.

Confirm Deploy Location and Branch

Deploy Branch Confirmation Modal

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.