paint-brush
Deploy a React Native Cross-Platform Blog in 3 Stepsby@carsoncgibbons
3,770 reads
3,770 reads

Deploy a React Native Cross-Platform Blog in 3 Steps

by Carson Gibbons2mNovember 1st, 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 Cross-Platform Blog in 3 steps. This app is three apps in one: Web, iOS and Android app, all with content powered by <a href="https://cosmicjs.com/" target="_blank">Cosmic JS</a>. Go to the <a href="https://github.com/cosmicjs/cross-platform-blog" target="_blank">GitHub repo</a> 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. 😎

People Mentioned

Mention Thumbnail
Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Deploy a React Native Cross-Platform Blog in 3 Steps
Carson Gibbons HackerNoon profile picture

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. 😎

TL;DR

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.


How to Build a Cross-Platform Blog Using React Native and Node.js_Tony Spiro is the Co-Founder of Cosmic JS, an API-first Content Management Platform for building content-powered apps._medium.com

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.


Cross-Platform Blog | Cosmic JS Apps_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…_cosmicjs.com


cosmicjs/cross-platform-blog_cross-platform-blog - A cross-platform blog for iOS, Android and web. Content powered by 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 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.