An Interest In:
Web News this Week
- March 21, 2024
- March 20, 2024
- March 19, 2024
- March 18, 2024
- March 17, 2024
- March 16, 2024
- March 15, 2024
December 27, 2021 03:31 pm GMT
Original Link: https://dev.to/mukulrajpoot262610/complete-authentication-using-firebase-3l8d
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
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.
Original Link: https://dev.to/mukulrajpoot262610/complete-authentication-using-firebase-3l8d
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To