Angular Authentication Tutorial - 8 - Testing User Registration with Postman

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

📱 Follow Codevolution

Angular | Angular Authentication Tutorial for Beginners | Testing Registration API
Рекомендации по теме
Комментарии
Автор

Damn your Tutorial is so good! Our project is a bit different to yours but I almost can do everything like you 😁 your explanations are sooo gooood 😎

We have a project in my university and I have to write my userstory "User is able to register" ... well with other tutorials I would spent days and days of understanding things I don't even need to understand (yet) for this basics tasks and these are only things which confuse me, cause I am not even know the javascript basics.

Even searching for "simple" or "basic" registration tutorial gave me the most complicated things I ever saw

And I started your playlist, just needed to watch three of your four minute long videos and I got my user storie finished!!! Thank you!!!
And I am not only finishing my user story, I am also understood every single step. You are very good at teaching people who don't know anything about a topic in necessary basic words.
Albert Einstein once said: "If you cannot explain it simply, you don't understand it well enough". And dude ... you explained it very simply 😁😎👍🏻

And I love how you introduce new frameworks, software and webtools only when we need it. Many of the other "tutorials" gave me names of up to 10 software tools, APIs, frameworks and so on and I couldn't get them at the first start without even coding yet. Not even their names will be longer stay in my mind ... so what are they trying me to learn? You did that waaaay better.

And you also display structure diagrams for explaining dependencies of components we are going to use in the next step. Very nice!

I've already said ... your tutorial is a bit different to ours and I think I will watch your whole playlist today and start a new private project with your tutorial. I think I will learn with even with 2 of your videos (with duration of 4 minutes) way more, than one of the other 1-1.5 hours long tutorials hahaha

seeking
Автор

I've follow this tutorial and everything works fine! thanks a lot Sir !

simpleway
Автор

must to update the course
example :

router.post("/register", (req, res) => {
var user = new User(req.body);
user.save()
.then(registeredUser => {

})
.catch(err => {
res.status(400).send(err);
});
});

kamalkamals
Автор

Could not get any response
There was an error connecting to localhost:3000/api/register.
Why this might have happened:
The server couldn't send a response:
Ensure that the backend is working properly
Self-signed SSL certificates are being blocked:
Fix this by turning off 'SSL certificate verification' in Settings > General
Proxy configured incorrectly
Ensure that proxy is configured correctly in Settings > Proxy
Request timeout:
Change request timeout in Settings > General

jhumurpaul
Автор

For those who are getting the data in database but postmen keep showing 'Bad Request' error then please try any other tool like fiddler.

himanshupunj
Автор

while regisgering only _id and _v gets stored in the database.. any solution?

VikramKumar-ynvp
Автор

I have done the same thing but I received "Could not get any response" from postman

jhumurpaul
Автор

idk why, but while registering i am getting only _id and _v stored in the collection and not the email and password, i.e., 'registeredUser'
thanks.

anuragkhandelwal
Автор

I am getting User is not a constructor when I try to connect to api/register via Postman. Any idea where I might have gone wrong?

CppObjectOrientedProgrammer
Автор

Hi I am submitting registration form with postman it showing 200 status but only default id is inserting

jayprasad
Автор

I am not able to pass the data in mongoDB atlas I dont see any errors on my console.Can anyone help

rajatsengupta
Автор

SOLUTION: Maby a late but for anyone who only posts the "_id" and "__v" values: On the right of where you select the RAW option, click on the dropdown menu that probably says "Text" (and is in a different color) and select "JSON(application/json)". This should fix it.

dorky
Автор

in register how to use password encryption and in login how to user encrypted pass match can you make a video

prasad
Автор

We can use chrome extension postman, as well. There's no need to install it. (:

amandaavelino
welcome to shbcf.ru