Skip to content
This repository has been archived by the owner on Feb 10, 2019. It is now read-only.

dalenguyen/friendlychat-app-firebase

Repository files navigation

Friendly Chat App By using Firebase

This app will use Google Sign in for logging in. User can chat and upload images.

Demo: https://friendy-chat-dn.firebaseapp.com/

Prerequisites

Clone this git repository

git clone https://github.com/dalenguyen/friendlychat-app-firebase.git

Install Firebase Command Line Interface

npm -g install firebase-tools

Login into to your account

firebase login

Add this directory to your firebase project

firebase user --add

Before that, you need to

  • You have to create a project in Firebase.
  • Enable Authentication through Google
  • Start Storage for saving images

Deploy and run the web app

Deploy this chat app without functions. You will find the Hosting and Project Console after running this one.

firebase deploy --except functions

Deploy functions for this Chat App

firebase deploy --only functions

Testing this project

You now can got to the Hosting URL and start using it.

This repository follows Firebase SDK for Cloud Functions Codelab.