Installing on Firebase
[![Install React Social Network](https://img.youtube.com/vi/zrqDE82Eny8/0.jpg)](https://www.youtube.com/watch?v=zrqDE82Eny8)
Firestore
With- Configure firebase:
- If you don't have firebase account, follow Create firebase account
- Create Project open the Firebase Console and create a new project.
- Enable Firestore
- Enable firebase storage Go to firebase console. Click on your
project name
. InDEVELOP
menu chooseStorage
. Click onGET STARTED
. Indialog
click onGOT IT
. - Get firebase config Go to firebase console. Click on your
project name
. InProject Overview
page click onAdd Firebase to your web app
. In dialog box copyvar config = <copy this area>
configuration key/value. Open config filereact-social-network
root directory insrc/config/environment.dev.ts
. Pate your config infirebase : <paste here>
. - Enable Email/Password Authentication sign-in on firebase:
- In the Firebase console, open the Auth section.
- On the Sign in method tab, enable the Email/password sign-in method and click Save.
- Enable OAuth We are supporting sign-in with Github, Google and Facebook. Following firebase document you can enable each one you need.
- Install Firestore Social Backend Follow instruction of Firestore Social Backend
- Enable firestore dependencies
- Go to React Social Network folder in
src/socialEngine.ts
writeuseFirestore(provider)
to enable firestore dependencies!
- Go to React Social Network folder in