Hi, I made a portfolio for the first time. I've used Gatsby to make it. I'd like to hear your thoughts on it!
Portfolio
Source Code (In case you...
For further actions, you may consider blocking this person and/or reporting abuse
Can you help me understand how does this firebase thing works when you are adding a new subscriber to your mailer?
Yea Sure!
I am using firebase a backend just to store the list of emails. So the only product I am using of firebase is firestore.
Every firebase project has some config data associated with it. This is essentially like a password that allows you to access the backend. I have stored this data in a file called
firebase-config.js
. This file is not on version control (github) as I has secret data. Here's the code inside it:This file export the
firebase
object which is imported bysrc/components/MailBox/index.js
. This is used to perform write operations to the database.You can read more in the firebase documentation:
Hope I cleared your doubts.
Thanks man! This was really helpful. :)
By the way, I really liked the concept of personally mailing and building real network. Glad I found your blog.
😄
I'm totally stealing the "Tools of trade" section! Very cool idea 🙌
You could also add some projects you have built. Nice page though :)
Thank You for your review! I'll make some changes soon. 😊