Hackernoon logoDeploy a React Native Cross-Platform Blog in 3 Steps by@carsoncgibbons

Deploy a React Native Cross-Platform Blog in 3 Steps

Carson Gibbons Hacker Noon profile picture

@carsoncgibbonsCarson Gibbons

Cosmic JS Co-Founder

In this blog I will demonstrate deploying a Cross-Platform Blog in 3 steps. This app is three apps in one: Web, iOS and Android app, all with content powered by Cosmic JS. Go to the GitHub repo to see how the iOS and Android app share the same React Native codebase, cutting dev time in half. The web version runs on a light Node.js server. Install and manage your blog content from your Cosmic JS Bucket Dashboard. Simple. 😎


You can refer to the original tutorial below if you’d like to see how the app was built from scratch, or keep reading to simply deploy the React Native Cross-Platform Blog in 3 easy steps.

  1. Native iOS and Android apps share the same React Native codebase. Learn once, write anywhere.
  2. Web is fully responsive down to mobile w/ Bootstrap frontend.
  3. Images are easily manipulated for different device / browser requirements via the Cosmic JS provided Imgix integration.

We’ll be using Cosmic JS to install our example app, deploy and make content updates moving forward.

If you haven’t already, get started by Signing Up for Cosmic JS. Helpful resources are provided below to streamline your development operations.

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 React Native Cross-Platform Blog

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 Cross-Platform Blog 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.


Join Hacker Noon

Create your free account to unlock your custom reading experience.