paint-brush
Deploy a React Auth App in 3 Stepsby@carsoncgibbons
592 reads
592 reads

Deploy a React Auth App in 3 Steps

by Carson GibbonsJanuary 22nd, 2018
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 <a href="https://cosmicjs.com/apps/react-auth-app" target="_blank">React Auth App</a> in 3 steps. This app shows implementation of Authentication in <a href="https://cosmicjs.com/knowledge-base/react-cms" target="_blank">ReactJS</a>, NextJS and <a href="https://cosmicjs.com/knowledge-base/nodejs-cms" target="_blank">NodeJS</a> using the <a href="https://cosmicjs.com" target="_blank">Cosmic JS API</a>. This app has all the basic modules like Sign-in, Sign-up, view / edit profile, forgot password and reset password.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Deploy a React Auth App in 3 Steps
Carson Gibbons HackerNoon profile picture

In this blog I will demonstrate deploying a React Auth App in 3 steps. This app shows implementation of Authentication in ReactJS, NextJS and NodeJS using the Cosmic JS API. This app has all the basic modules like Sign-in, Sign-up, view / edit profile, forgot password and reset password.

Install and manage your React Auth App and all of 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 React Auth App in 3 Steps.


How to build a React Auth App using React, Cosmic JS and Node_TL;DR_hackernoon.com

TL;DR




React Auth AppReact Auth App DemoReact Auth App CodebaseHow to Build a React Auth App using React, Cosmic JS and Node

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. If you haven’t already, get started by Signing Up for Cosmic JS.

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 Auth App

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

Navigate to “Deploy Web App” located underneath Settings in your left hand navigation bar in your Bucket Dashboard. 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

I’m using the content-ready app from Muhammad Musa in the Cosmic JS Community, so I’ll use his Master Repo: https://github.com/cosmicjs/react-auth-app


Muhammad Musa | Cosmic JS_Find information about Muhammad Musa and learn how to build apps faster using Cosmic JS, the API-first CMS platform._cosmicjs.com

Deploy Branch Confirmation Modal

Now that your app is deployed to the Cosmic JS App Server, you’re free to completely manage your React Auth App 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.