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

preview_player
Показать описание


— Follow Me —
— 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.

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
Рекомендации по теме
Комментарии
Автор

where do I begin, this was an amazing tutorial! I'm being subjective, but I think that it's perfectly paced for someone at an intermediate level. Super direct, clear explanations for a process without all the excess jargon :)

vamposhiz
Автор

what if I wanted to connect to mongodb atlas with mongoose instead of mongoclient? I've got one collection in my db already, how would it look like?

filipchojnacki
Автор

i need your assistance please i want the profile to appear after the login, and the edit profile after viewing my profile

alimilateefadekunle
Автор

When I register with same user and password it is not throwing an error, it is creating a new record in mongodb

snehaaandal
Автор

Hello can you continue with this lesson, Im trying to create a profile page where visitor can search and filter by location. as well as review and rating a profile page.

cqajagsaw
Автор

have any tutorial same like above for user, admin and superadmin system ? using nodejsexpress, hbs, mongoclient(not mongoose) ?

habeebkambrath
Автор

Hello JDS, I have a bit of a generic question. I have made a website which has a news section which needs to be updated weekly by a client. Would I create an Admin Login with an Admin page which allows them to create 'news cards' by doing something similar to what you have done in this video. Or would I have to somehow attach my website to a CMS or re-create my website through a CMS, I'm really not sure what is generally done in this case? Thanks.

vrk
Автор

$set sets null values instead of accepting values from req.body

TheNinad
Автор

awesome toturial thankyou but i came to this video searching for another thing which is adding an admin panel in an ecommerce nodejs webapp do i need to make two separate servers one for media and the other for the admin panel?

Mohamedtarek-qzzj
Автор

hey man, when I am serializing the user it says that _id does not exist not the type 'User'. Do you why this could be?

benfisher
Автор

I'm getting the followng error in the terminal "(node:43084) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor." Any ideas on how to fix it? - Thanks

markrusso
Автор

hi when i register an account that already exist it just adds it instead of giving the error “User already exist” why is that?

Esizl
Автор

Why are you using var instead of const?

oniadrian
Автор

Please do a tutorial where you can upload your user photo for your profile

garbjorn
Автор

Where you have declared that you are using port 3000

kanishkraj
Автор

It is showing this error, when I type npm install and then npm start with the git code specified ...I don't know how to go about it ...Could you plz help me out here :
errorLabels: [ 'TransientTransactionError' ],
{}
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Exit status 1
npm ERR!
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!

rishab
Автор


throw new Error('Authentication strategies must have a name');
^

Error: Authentication strategies must have a name

snehaaandal
Автор

Hello everybody! Imagine that we have a table users:[{_id:"someid", name:"someUserName", age:21, countPosts: 15}]. How can I write query like this "SELECT _id AS userId, name AS userName FROM users" using mongodb driver? Very interesting something about "AS" construction. I need to get the object like this: user:{userId:"someid", userName:"someUserName"}. Thanks a lot for answers!

arturyanovich
Автор

Hi, your video so useful and i love it but how i can add posts and comments of each post with pictures and ... i hope you can help us or share with us git project or something

gitnawi
Автор

I have a confusion about localhost since the port is not allocated in the code

waseykhan