We will create a social media platform(work in progress).
We have created this repository to learn about how a social media platform works basically.
- HTML
- CSS
- Js
- React.js
- Firestore
- First fork the repo
- Install Node.Js in your machine
- Then open terminal in the directory of this repo
- Type
npm install
to install all dependencies - Then create a file named
firebase.js
in/src
folder. - Now copy the below code in that file
import { initializeApp } from 'firebase/app'; import { getFirestore } from 'firebase/firestore'; import { getAuth, onAuthStateChanged } from "firebase/auth"; const firebaseConfig = { // Your firebase app config data }; const firebaseApp = initializeApp(firebaseConfig); const db = getFirestore(firebaseApp); const auth = getAuth(firebaseApp); export {db, auth};
- Now in terminal of this repo's root folder type
npm start
to run the project in dev mode.
Anyone can contribute in this repo if you have sound knowledge of react.js and firebase firestore