FindNerd
FindNerd, a niche Social Technology Community welcomes all technocrats to collaborate with like minded people to enhance their tech skills via Ideation, Innovation & Integration.
Chapter 3: Authentication using node.js(passport.js) and mon
06/28/2016 10:07 am
 Javascript

Authentication nodejs mongodb.jpg


As we all know authentication plays an important role in every site. Here In this blog I am explaining how we will authenticate our site in node.js as a backend and mongoDb as a database. To authenticate I am using passport.js which will help to login with facebook,twitter and google etc.

In this article I am explaining local authentication with a mongoDb backend.

Prerequisites:

Install node.js,express.js and mongoDb .For installing them please read my previous blog.

when all installation are completed then we will create a new project using express.

  1. express AuthApp

  2. cd AuthApp

  3. npm install

Next we will install passport module by using below command.

  1. npm install passport

Read full blog Here>> Chapter 3: Authentication using node.js(passport.js) and mongoDb

0 Comments
Please login to post your comment..
Reach Us
One Commerce Center 1201 Orange Street #600 , Wilmington, Delaware, US, 19899
One Commerce Center 1201 Orange Street #600
Wilmington
Delaware
19899
US
Quick Contact