Connecting your domain using Google Firebase (with Node.js)
Google Chrome announced that, starting this October, it would show a "Not secure" message in the address bar for URLs served over HTTP. Most major sites-Google, Facebook-had already moved to HTTPS.
With Firebase, you can get your own SSL certificate (for free) and stop worrying about the "Not secure" warning even if you don't already own one. You can create a Firebase project at Google Firebase using your Google account.
Create a new project

A dialog appears after you click "Add project." Name the project and select your country. I chose South Korea, but I recommend choosing the country with the closest CDN region.
Start Google Firebase

You need to set up your local directory because Firebase Hosting uses Node.js's command-line interface, not an FTP server or a web hosting manager. Make sure Node.js is installed on your computer.

Connect your domain
Click the "Connect domain" button to start linking your domain to Firebase. You'll need a domain you own.


In my case, my DNS provider is GoDaddy, so I added the TXT record there.
Upload your files
Move your assets into the directory you set up in Terminal. In my case, the public directory is public (the default). Then, in Terminal, run the deploy command.
Get HTTPS
That's it. Now wait 5 minutes to 2 hours for Firebase to apply your domain settings. Until then, you may see a warning when visiting your domain:
I went through this process for my own portfolio site because I didn't want visitors to be greeted by a "Not secure" warning in Chrome. After about 30 minutes:
Hope this helps, especially for people new to the deployment side of things. Thanks!
Title : Connecting your domain using Google Firebase (with Node.js)
Date : May 19, 2017
Writer : Hyouk Seo (Spemer)