Skip to content

About

Chat App created with React & Firebase.

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Latest commit

 

History

136 Commits

Folders and files

Repository files navigation

Chat App

Chat App created with React & Firebase.

Live Demo 👈

Features

  • Google sign in
  • Toggle dark / light theme
  • Create and delete private chats
  • Create, manage, leave and delete public chats
  • Responsive design

Screenshots

Mobile

mobile-dark

Desktop

desktop-dark

Getting started

Project setup

git clone https://github.com/michalosman/chat-app-firebase.git
cd chat-app-firebase
npm install
npm start

Firebase setup

  • Create a Firebase project
    • Go to Firebase → Get Started → Add project
  • Register your app
    • Go to Project overview → Choose </> (Web App)
  • Enable Google Sign in
    • Go to Authentication → Get Started → Sign-in method → Enable Google
  • Enable Firestore
    • Go to Firestore Database → Create database
  • Setup project
    • Go to Project settings → General → Your apps → SDK setup and configuration → Config
    • Create a .env.local file in project's root directory
    • Paste code below and provide your keys found in Config
REACT_APP_API_KEY={apiKey}
REACT_APP_AUTH_DOMAIN={authDomain}
REACT_APP_PROJECT_ID={projectId}
REACT_APP_STORAGE_BUCKET={storageBucket}
REACT_APP_MESSAGING_SENDER_ID={senderId}
REACT_APP_APP_ID={appId}

Built with

About

Chat App created with React & Firebase.

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Contributors

Languages