Node.js User Authentication: Express, MongoDB, JWT, and Organized Folder Structure



Node.js User Authentication: Express, MongoDB, JWT, and Organized Folder Structure

Node.js User Authentication: Express, MongoDB, JWT, and Organized Folder Structure

In this video we’re going to build a controller handles user authentication, account management, and friend requests in a Node.js app using MongoDB and cloud storage. It includes functions for creating a new user account with hashed passwords, logging in and generating JSON Web Tokens, updating user profile information and passwords, getting user data and friend requests, sending and accepting friend requests, and deleting user accounts. It also uses the Cloudinary API to store and retrieve profile pictures.

part one: https://youtu.be/dQCi-QR9TmA

source-code (feel free to live a like on the repo)—: https://github.com/zenith-noble01/youtube/tree/rsm-server

Comments are closed.