Codementor Events

Deploy a Vue.js Restaurant Menu App in 3 Steps

Published Nov 07, 2017
Deploy a Vue.js Restaurant Menu App in 3 Steps

In this blog I will demonstrate deploying a Restaurant Menu App in 3 steps. This restaurant menu app was built using Nuxt, Vue.js and Vuex with content powered by Cosmic JS. It connects to the Cosmic JS API to add / edit / delete menu, menu items and their attached media. Install and manage your own Restaurant Menu App and manage its content from your Cosmic JS Bucket Dashboard. Simple. 😎 You can refer to the original tutorial below to build the app from scratch, or continue reading to simply deploy the Restaurant Menu App in 3 Steps.

Vue.js / Nuxt.js Restaurant Menu App Codebase

How to Build a Restaurant Menu App in Nuxt and Vuex using Cosmic JS

TL;DR

We’ll be using Cosmic JS to install our example app, deploy and make content updates moving forward. Cosmic JS is an API-first Content Management Platform that allows developers to build apps in any programming language while giving content editors a familiar content editor to manage dynamic content from the cloud.

Screen Shot 2017-11-07 at 9.17.23 AM.png

If you haven’t already, get started by Signing Up for Cosmic JS.

1. Create a New Bucket

0*_3gLSqMPR84sSXRU.png

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

2. Install the Restaurant Menu App

0*Fld8u91vnku9mt8F.png
0*lYOgo8gIAwS3YRE7.png
Cosmic JS gives you the ability to filter between programming languages such as Node.js, Vue.js, React, AngularJS and more.
0*n0dXijuWwLRxHtXB.png

3. Deploy to Web

0*cKskWK0FqkNYul6o.png

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

0*ojNsgyVJJxHal7GJ.png

Deploy Branch Confirmation Modal

0*dddNVz31ar9NSH7E.png

Now that your app is deployed to the Cosmic JS App Server, you’re free to completely manage your Restaurant Menu App and all of its content from one place.

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. Follow me on Twitter.

Discover and read more posts from Carson Gibbons
get started
post commentsBe the first to share your opinion
Dang Minh Phat
6 years ago

Thanks!

Show more replies