Skip to main content

Deploy ReactJS application using firebase

· One min read

This tutorials explains how we can use to deploy the ReactJS SDK on firebase.

Getting Started

  • Fork the Repository GitHub - LikeMindsCommunity/likeminds-chat-reactJS-traya

  • Clone the repository to local machine git clone git@github.com:LikeMindsCommunity/likeminds-chat-reactJS-traya.git

  • cd likeminds-chat-reactJS-traya

  • npm install

  • npm start to test the application on the local machine

  • Visit this URL - http://localhost:3000/?uuid='uuid'


Firebase Deployment

  • npm install firebase

  • npm install -g firebase-tools

  • firebase login

  • Select Account using which you would want to deploy the website

  • npm run build to create a production build of the application

  • firebase deploy to deploy the build on production

  • Use this guide to setup firebase hosting and deploy your production build to firebase. Get started with Firebase Hosting

Reference