paint-brush
Install a React VR App in 2 Minutesby@carsoncgibbons
256 reads

Install a React VR App in 2 Minutes

by Carson GibbonsMay 10th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this blog I’m going to demo installing a <a href="https://cosmicjs.com/articles/react-vr-art-gallery-app-jh10xe75" target="_blank">React Virtual Reality App</a> in just a few simple steps. The app was recently debuted at a <a href="https://cosmicjs.com/articles/building-for-team-success-with-content-powered-apps" target="_blank">ReactJS Dallas Meetup</a> by <a href="https://cosmicjs.com/tony" target="_blank">Tony Spiro</a>, co-founder of Cosmic JS. The <a href="https://facebook.github.io/react-360/" target="_blank">React VR</a> app is a portrait gallery application that has various realms and portraits powered by the <a href="https://cosmicjs.com/" target="_blank">Cosmic JS API</a>.
featured image - Install a React VR App in 2 Minutes
Carson Gibbons HackerNoon profile picture

In this blog I’m going to demo installing a React Virtual Reality App in just a few simple steps. The app was recently debuted at a ReactJS Dallas Meetup by Tony Spiro, co-founder of Cosmic JS. The React VR app is a portrait gallery application that has various realms and portraits powered by the Cosmic JS API.

TL;DR:



React VR Gallery AppReact VR Gallery App CodebaseReact VR Gallery App Demo Video

Installation

This connects to a demo Bucket. To connect to your own Bucket follow the steps below:

Connect to your Bucket

  1. Go to Cosmic JS and import the included bucket.json file in this repo by going to Your Bucket > Settings > Import / Export.
  2. Go into the index.vr.js file, find the config section and add your Bucket slug.
  3. Start the app connected to your Bucket:
  4. Play with the VR experience in the browser at http://localhost:8081/vr

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.