Posts

Showing posts from 2017

built web-app Authentication in React Applications

Image
Authentication using an email address before that we setup our react environment                    We can install these packages by typing                npm install --save bcrypt jsonwebtoken mongoose passport passport-local bcrypt                -- algorithm implementation for hashing passwords jsonwebtoken   -- JSON Web Token standard mongoose       --  MongoDB ORM library passport            --flexible authentication library passport-local   --Passport strategy for authenticating with an email and a password and we create a root folder structure like this   install the package.json           -------  by typing/ npm init After the installation of new packages my package.json looked like this:          { "name" : "authentication-in-react-apps" , "version" : "1.0.0" , "description" : "Authentication in React Applications" , "main" : "index.js" , "