How To Build a Simple User Profile Admin App (Mongo, Express, Node)

Опубликовано: 04 Октябрь 2024
на канале: Code With Bubb
61,884
898

In this tutorial, you'll learn how to build a simple user profile admin app using MongoDB, Express.js and Node.js.

Get the code here: https://github.com/codebubb/user-prof...

— Follow Me —
Twitter:   / codebubb  
Facebook:   / juniordevelopercentral  
Blog: https://www.juniordevelopercentral.com/
— Thanks! —

So in this tutorial, you'll learn how to build a user profile admin app using MongoDB, Express and Node. This will simply be a login system that users can use to register new accounts and then login (with a hashed password in the database) and then have the ability to save some additional information to the user's account.

This 'account profile' will be stored securely in the database but then the information will be available publicly to any users that browse to the user's profile however only the owner of the profile, the user, will be able to edit it.

In the example Express JS app, you'll see how you can leverage the power of the passport.js (via the passport local strategy) to create a simple login system quickly. Once the user has registered an account and signed in they can edit some simple information in the form of their social media accounts (like GitHub, Twitter, Facebook etc).

Will also add a few nice features like being able to logout and show the most recently registered users on the home page of the app so that guest users can browse the profiles of the most recent users.

#fullstackapps Channel Handle @codebubb