Deploy a React Native Cross-Platform Blog in 3 Steps
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. 🚀
- Native iOS and Android apps share the same React Native codebase. Learn once, write anywhere.
- Web is fully responsive down to mobile w/ Bootstrap frontend.
- 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.
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.