DEV Community 👩‍💻👨‍💻

Cover image for Complete Authentication using firebase
Mukul Rajpoot
Mukul Rajpoot

Posted on

Complete Authentication using firebase

Hello guys 👋,

I made a complete authentication module using firebase. Frontend is built using next.js and database I'm using is mongoDB.

It also have user email-verification and password-reset functionality. I made this app to learn about how to export firebase user data to another database like mongodb.

Some Screenshot

Image description

Image description

Image description

How to setup

Step 1: Clone project from here

Step 2: Run npm install to install dependencies

Step 3: Create a firebase project and mongoDB cluster.

Step 4: Generate a .env file and add your firebase and mongodb uri in that file.

Step 5: Setup your service account on firebase and generate a new private key and add them in your env file.

Step 6: You are good to go. 😎

Deployed Link: Live Link
Github Link: GitHub

Top comments (2)

Collapse
 
bralexsvg profile image
Adam Alex

nice

Collapse
 
mukulrajpoot262610 profile image
Mukul Rajpoot

Thanks

Hey 😍

Want to help the DEV Community feel more like a community?

Head over to the Welcome Thread and greet some new community members!

It only takes a minute of your time, and goes a long way!