Reddit-Clone icon indicating copy to clipboard operation
Reddit-Clone copied to clipboard

Request - More info on how to setup Firebase.

Open Jackster opened this issue 1 year ago • 5 comments

Thanks for creating this project. Looking to use it as a base to something.

I am new to Firebase. Could you add more info on how to set it up? I got basic auth working and I presume Google login.

But trying to create a community, it has this error. POST https://firestore.googleapis.com/v1/projects/APPID/databases/(default)/documents:batchGet 403 index.esm2017.js?b836:78 [2023-04-12T00:28:09.713Z] @firebase/firestore: Firestore (9.9.3): RestConnection BatchGetDocuments failed with error: {"code":"unknown","name":"FirebaseError"} url: https://firestore.googleapis.com/v1/projects/APPID/databases/(default)/documents:batchGet request: {"documents":["projects/APPID/databases/(default)/documents/communities/test"]}

I presume I need to setup the database. Not sure how to do this.

Thank you

Jackster avatar Apr 12 '23 00:04 Jackster

Are you enabled firebase firestore database

SashenJayathilaka avatar Apr 12 '23 01:04 SashenJayathilaka

I think so. I enabled it and created a database. It did not as for much detail other than production or dev.

Jackster avatar Apr 12 '23 23:04 Jackster

You can check the Firebase rules. Check to see if the firestore database timestamp has expired. 

SashenJayathilaka avatar Apr 13 '23 00:04 SashenJayathilaka

could you please tell me where we can find NEXT_PUBLIC_CRYPTO_SECRET_PASS value

meghana1710 avatar Dec 27 '23 16:12 meghana1710

NEXT_PUBLIC_CRYPTO_SECRET_PASS=anything

SashenJayathilaka avatar Jan 04 '24 00:01 SashenJayathilaka