Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Back-end Architecture #3

Open
snissn opened this issue Oct 22, 2020 · 4 comments
Open

Back-end Architecture #3

snissn opened this issue Oct 22, 2020 · 4 comments

Comments

@snissn
Copy link
Member

snissn commented Oct 22, 2020

  1. firebase for auth
  2. firestore for storage
  3. use vercel for hosting

here's the public facing firebase config info we should use

var firebaseConfig = {
apiKey: "AIzaSyAucp45jLH1-Es09RyZPpL0qQSQCFZmY6s",
authDomain: "webdev-578ab.firebaseapp.com",
databaseURL: "https://webdev-578ab.firebaseio.com",
projectId: "webdev-578ab",
storageBucket: "webdev-578ab.appspot.com",
messagingSenderId: "942020508092",
appId: "1:942020508092:web:2d902f7c14e1e216e713b9"
};

@snissn
Copy link
Member Author

snissn commented Oct 22, 2020

Firebase is set up for login with github and here's our reddit app api public key:

webdesign + webdev
installed app
4JFk75_xUA36xA

@TJSteel
Copy link

TJSteel commented Oct 23, 2020

I've not used or heard of firebase being talked about much before, so I did a little searching and from what I've found it seems like it's one of those where it's easy to setup, but then pretty bad in the long run as it doesn't scale very well, based on this it's not something I'd want to spend time trying to learn if you'd then need to re-write it anyway.

Again just based on my suggestions in the Front End issue, I think it may be best to stick to one of the more popular or in demand frameworks. I don't have experience in many of them but the following is what I can add to this.

  • Express.js (node.js) is really easy to setup, and I've been using it for about 2 year, and there's load of tutorials out there for it, if using a framework like React or Angular, then they both use js too so you'd only need to learn js to do front and backend.
  • Spring Boot (Java) this is such a massive framework, I use this at work, but there is barely anything online in terms of tutorials so I'm not sure if I could really recommend this to anyone new to development

@zuku0000
Copy link

What about express + mongoDB?

@TJSteel
Copy link

TJSteel commented Oct 26, 2020

I didnt mention db here actually. But node.js, express, and mongoose for mongoDb work pretty well together.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants