How To use Firebase Auth on Node.js Project

Fredric Cliver
Webtips
Published in
2 min readAug 15, 2020

--

I will describe the basic way of implementing Firebase Auth in Node.js project.

Here is a sketch on high.

First, you need a basic step.

  1. Install the firebase and express with npm module
  2. Make a new Firebase project on Firebase console.

First, Server.js

I’ve made one config.js and used it on both of Front and Server side.

You have to use your own configuration that you can retrieve from your firebase project console.

Second, index.html

--

--

Fredric Cliver
Webtips

Majored in Physics, self-taught and worked in the IT industry as a Dev/Design/Planning for 11 years. And I had run my Startup for 3 years. I fancy a ☔️ 🇬🇧