Skip to content

Slack clone using TypeScript, React, Redux Toolkit, React-Router, MUI, Styled Components & Firebase

Notifications You must be signed in to change notification settings

iamhiman/slack-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Clone

Platform-Web Repo-Size Tech-Stack

Built with React JS :atom: at core.

📑 Introduction

  • Slack UI clone (Single Page Application).
  • Push - Pull data to/from Firebase.

🖥️ Setup:

  • Install all project dependencies with yarn

  • Setup Firestore and Enable Google Authentication on Firebase

  • Create firebase.ts file and copy paste below code and add the apiKey, authDomain, etc from firebase.

    import firebase from "firebase/compat/app";
    import "firebase/compat/auth";
    import "firebase/compat/firestore";
    
    const firebaseConfig = {
      apiKey: "",
      authDomain: "",
      projectId: "",
      storageBucket: "",
      messagingSenderId: "",
      appId: "",
    };
    
    const firebaseApp = firebase.initializeApp(firebaseConfig);
    const db = firebaseApp.firestore();
    const auth = firebase.auth();
    const provider = new firebase.auth.GoogleAuthProvider();
    
    export { auth, provider, db };
  • Start the development server with yarn start

  • Open http://localhost:3000 to view it in the browser.


This project was bootstrapped with Create React App, using the Redux and Redux Toolkit template.