create account

Firebase hosting - Pretty easy way to host static sites by bala41288

View this thread on: hive.blogpeakd.comecency.com
· @bala41288 ·
$0.44
Firebase hosting - Pretty easy way to host static sites
I will try to make sure this article is not very big and technical. I'll also try to make a detailed one in the future about firebase for development and firebase hosting. In this article, I just wanted to quickly share my experience with Firebase hosting. Today I had a website to be hosted somewhere. Good thing about that site was that, it was a static website. In the internet we have lots of options to host our static websites for free. In a matter of few minutes we will be able to host the static pages we build, along with index.html and make it available in the internet. I was able to host my site in less than a few minutes using firebase. 

![](https://cdn.steemitimages.com/DQmPw2FabD1pAswtwA59FjQqxPpxzUKDpNC55nJWXqMK3sV/image.png)

[Source](https://www.edyoda.com/watch/F6837DF19F360DA34D836AEAB91B207CD7D1E/)

With that I wanted to explore firebase today. I have used firebase for the database purpose two years back when I was exploring a good database. I even managed to build a crud application with the help of Firebase Firestore. It was indeed a good experience. I will still recommend that because it was easy to use and coding was also very easy as there were neat documentations available online. The firebase team also does a good job in providing video tutorials making it easier for the developers as well as non developers to understand the concepts. 

![](https://cdn.steemitimages.com/DQmWb6R4s6zxM2v4CxGaQ8BhzzPwf2wpjuqC1UETxx1EMPt/image.png)

After almost like 1 year I hosted a website on firebase today. When I started off with Firebase CLI, I came up with an error message after I tried to login and initialize my project. I'm not going to go into the details of each and every step that I did. The documentations have detailed information on all that. I will just traverse through the error message and what I did to solve the error message. Below was the error message in the console.  

`Error: Failed to list Firebase projects. See firebase-debug.log for more info.`

![](https://cdn.steemitimages.com/DQmXAZapwJvDigKc5UkrX8B6zsFUuxYrVcMiuRbZ2fQWdKr/image.png)

Initially that was the error message and I was confused as the information was not very straight forward. I was also not sure where to find the log file. I tried something and wanted to ask google about this issue. That is when I found a solution in one of the answers from StackOverflow. 

The reason for the isssue was that there was caching issue with my login information and authorization. I had to logout and login again to be able to get the list of all my projects. That was pretty easy. After reauthorization, I was able to see the list of projects and continue with my hosting as well. 

I would recommend using firebase hosting for deploying your static websites. One good reason to use firebase hosting is that it is free to use and another good reason to use firebase hosting is that it is a Google's product now. 
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 3 others
👎  
properties (23)
authorbala41288
permlinkfirebase-hosting-pretty-easy-way-to-host-static-sites
categoryhosting
json_metadata{"links":["https://www.edyoda.com/watch/F6837DF19F360DA34D836AEAB91B207CD7D1E/"],"image":["https://cdn.steemitimages.com/DQmPw2FabD1pAswtwA59FjQqxPpxzUKDpNC55nJWXqMK3sV/image.png","https://cdn.steemitimages.com/DQmWb6R4s6zxM2v4CxGaQ8BhzzPwf2wpjuqC1UETxx1EMPt/image.png","https://cdn.steemitimages.com/DQmXAZapwJvDigKc5UkrX8B6zsFUuxYrVcMiuRbZ2fQWdKr/image.png"],"tags":["hosting","website","india","firebase","neoxian","palnet","actnearn","stem","dblog"],"app":"esteem/2.2.4-mobile","format":"markdown+html","community":"hive-125125"}
created2020-02-16 18:57:03
last_update2020-02-16 18:57:03
depth0
children1
last_payout2020-02-23 18:57:03
cashout_time1969-12-31 23:59:59
total_payout_value0.227 HBD
curator_payout_value0.217 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,929
author_reputation1,521,696,147,036,665
root_title"Firebase hosting - Pretty easy way to host static sites"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id95,512,868
net_rshares2,199,918,602,492
author_curate_reward""
vote details (68)
@steemitboard ·
Congratulations @bala41288! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

<table><tr><td><img src="https://steemitimages.com/60x60/http://steemitboard.com/img/notifications/postallweek.png"></td><td>You published a post every day of the week</td></tr>
</table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@bala41288) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=bala41288)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


**Do not miss the last post from @steemitboard:**
<table><tr><td><a href="https://steemit.com/steemitboard/@steemitboard/valentine-s-day-challenge-give-a-badge-to-your-beloved"><img src="https://steemitimages.com/64x128/http://i.cubeupload.com/LvDzr5.png"></a></td><td><a href="https://steemit.com/steemitboard/@steemitboard/valentine-s-day-challenge-give-a-badge-to-your-beloved">Valentine's day challenge - Give a badge to your beloved!</a></td></tr></table>

###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-bala41288-20200217t020305000z
categoryhosting
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2020-02-17 02:03:06
last_update2020-02-17 02:03:06
depth1
children0
last_payout2020-02-24 02:03:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,323
author_reputation38,975,615,169,260
root_title"Firebase hosting - Pretty easy way to host static sites"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id95,522,160
net_rshares0