stackoverflow-clone icon indicating copy to clipboard operation
stackoverflow-clone copied to clipboard

Creating the same clone based on firebase

Open Spandan16 opened this issue 4 years ago • 4 comments

Hey there! I am new to programming and I know only firebase... Could you create the same clone ( all the files should be same) but only replace mongodb with firebase?

Spandan16 avatar Oct 01 '21 14:10 Spandan16

Sorry, I can't. Otherwise I don't have enough experience on firebase. If you are newbie that is good challange for you.

salihozdemir avatar Oct 01 '21 16:10 salihozdemir

That's okay. But the template I have seen in React/Next is - From the root of the folder, there are all the folders like pages,components, etc... But I am getting bit confused as here, from the root folder, there are 2 folders server and client.

In brief, I always see the contents of the client folder in the root of the directory... If so, then what is the server folder doing over there?

On Fri, 1 Oct, 2021, 9:49 pm Salih Özdemir, @.***> wrote:

Sorry, I can't. Otherwise I don't have enough experience on firebase. If you are newbie that is good challange for you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/salihozdemir/stackoverflow-clone/issues/21#issuecomment-932369764, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATJA4YZBZEM6KDDOC6TBOTTUEXNSJANCNFSM5FE3E5FA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Spandan16 avatar Oct 02 '21 14:10 Spandan16

There are actually two projects in this repo, one is the React Next frontend project as you mentioned and the other is the Nodejs express backend project in a single repo because they both work together.

If you go inside the client and run the project, the react project will run. If it is in the server, the backend project runs.

salihozdemir avatar Oct 03 '21 12:10 salihozdemir

Ok, thanks for the clarification. By the way, normally we create a firebase.js where we add the private credentials of the project created in Firebase. But in Mongodb is there any mongodb.js sort of thing?

If not, then how can I replace the project with the firebase project...

On Sun, 3 Oct, 2021, 6:25 pm Salih Özdemir, @.***> wrote:

There are actually two projects in this repo, one is the React Next frontend project as you mentioned and the other is the Nodejs express backend project in a single repo because they both work together.

If you go inside the client and run the project, the react project will run. If it is in the server, the backend project runs.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/salihozdemir/stackoverflow-clone/issues/21#issuecomment-932945644, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATJA4Y2UGE7FC3243EX7WPDUFBHCJANCNFSM5FE3E5FA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Spandan16 avatar Oct 03 '21 13:10 Spandan16