PERN authentication full course (backend)

  Рет қаралды 24,579

Mike dev

Mike dev

3 жыл бұрын

Frontend video:
• PERN authentication fu...
link to the github code:
github.com/michaelDonchenko/y...

Пікірлер: 42
@oscarfelix7244
@oscarfelix7244 Жыл бұрын
This was a great tutorial. Easy to follow and straight to the point. I really really like your teaching style and how you have the workflow written out. Excellent video sir. I learned a lot! Thank you!
@melissatermin5551
@melissatermin5551 2 жыл бұрын
Amazing tutorial, it is hard to find PERN tutorial video like this !
@johnkamau3442
@johnkamau3442 2 жыл бұрын
Lots and lots of thanks for this tutorial, the only complete I have found online regarding this topic, very well explained with no errors, I am grateful for your work sir
@devworks8787
@devworks8787 Жыл бұрын
One of the best tutorials I was looking for. Subbed!
@somtoobienu5081
@somtoobienu5081 10 ай бұрын
Thank you so much for this tutorial. You are a great teacher and a life saver. I am grateful. Keep it up
@zscoder
@zscoder 4 ай бұрын
We need more PERN in our life cheers 🙌🏻
@user-dh5xx1jc7c
@user-dh5xx1jc7c Жыл бұрын
I'm a little late to the game but wanted to post that this was an amazing video ('Likes' all around)! I also learned a lot and looking forward to the companion video. Thank you!!
@Glebtc
@Glebtc Жыл бұрын
For people experiencing "Error: Unknown authentication strategy "jwt"" error: I have basically eliminated the auth-middleware file and have added the following line to the passport-middleware file: exports.userAuth = passport.authenticate('jwt', { session: false }) You now have to change the import in the /routes/auth.js and it should work.
@jakobkeller6288
@jakobkeller6288 8 ай бұрын
My hero!
@stevenmelendez6683
@stevenmelendez6683 8 ай бұрын
eres el mejor, explicas muy bien.
@iot_in
@iot_in Жыл бұрын
Really a helpful one ! Thanks a lot
@claytorresgaming7212
@claytorresgaming7212 7 ай бұрын
Thank you for this video! Now unto the client side! Cheers! 🍻
@aviworking4823
@aviworking4823 2 жыл бұрын
great work..
@marcoojeda7678
@marcoojeda7678 2 жыл бұрын
Excelente..!
@Anarchy_OW
@Anarchy_OW Жыл бұрын
Very good info and I honestly appreciate your time for doing this. I would have personally enjoyed it if you walked through the code more in detail and not copy & paste. I had to do a lot of side research to understand topics that were breezed by a little too fast. Other than that it was great, defiantly a very condensed and solid tutorial.
@BukkyOdunsi
@BukkyOdunsi 6 ай бұрын
I'd follow you to the end of the world for this tutorial 🎉❤
@jalamangjanka3324
@jalamangjanka3324 2 жыл бұрын
Great job
@shannonm4812
@shannonm4812 Жыл бұрын
No matter what I do, I cannot get the protected route to authorize. I’ve tried everything!! Is anyone else having this problem?
@donal-milesgyasi6256
@donal-milesgyasi6256 Жыл бұрын
same problem here..did you manage to fix yours?
@Glebtc
@Glebtc Жыл бұрын
Hi, I basically changed all the instances of id to user_id in the controller files as well as authorization middleware, hope it helps
@nuraitzhan3957
@nuraitzhan3957 Жыл бұрын
Hi Mike, why when i do -> if (!validPassword){ throw new Error('Wrong password.');} I don't receive printed errors in my postman, only in console.log?
@cunny1307
@cunny1307 Жыл бұрын
nice tutorial
@GameVerse215
@GameVerse215 8 ай бұрын
are you going make video on postgres sequelize and react ... fullstack... ?
@docokd7oco443
@docokd7oco443 9 ай бұрын
What is a viedo?
@ConquerJS
@ConquerJS 2 жыл бұрын
This was a great tutorial, but jsut some friendly advice: it's too early for you to only make videos if you have enough likes. You should assume you will get 0 likes, and keep putting out content until it starts to get picked up by the KZfaq Algorithm and you get viewers. Right now all I see is an unfinished tutorial from half a year ago so I must assume you will never make the client side tutorial and just like that - you missed a subscriber. Meanwhile if you had done both and put them up, you would have one of the only PERN stack authentication tutorials on youtube and would get a lot of views. A few years back I saw there weren't videos on how to use webdriver with javascript so I made a bunch of videos and it's become the most viewed on the subject.
@mikedev4673
@mikedev4673 2 жыл бұрын
yes you're right thank you for the tip, I wanted to create the frontend video anyways just had some busy period working full time job and creating side projects, I hope to actually continue with my channel soon because teaching is something I really enjoy and don't want to give up on that.
@leilaaitabdellah3432
@leilaaitabdellah3432 2 жыл бұрын
Hi sir, i'm getting always the same error for all routes: Cannot GET /api Do you have any idea about the possible reason ?
@mikedev4673
@mikedev4673 2 жыл бұрын
Where are you trying to access the route? If i remember there is no /api route so you should define what route you need, also make sure the server is running. Not sure what you trying to do so please explain in more details.
@nickss998
@nickss998 2 жыл бұрын
Hi, Mike ! I need to add both a access token and a refresh token for this app. Can you point me out how to do this (i'm not that experienced) ? Your help will be very apreciated !! Thanks!
@mikedev4673
@mikedev4673 2 жыл бұрын
I will make a more modern video about it and hopefully include refresh tokens, there will be also integration with Prisma ORM and more.
@nickss998
@nickss998 2 жыл бұрын
@@mikedev4673 Thanks ! But my project due date will be very soon sadly :( Any chance of the video in 1 week or 2 ? If you have the time just to explain where/how to implement the acces token maybe I can give it a go myself. Have a great day !
@mikedev4673
@mikedev4673 2 жыл бұрын
@@nickss998 You can try to search info on google I have found some articles maybe try to use this one dev.to/cyberwolve/jwt-authentication-with-access-tokens-refresh-tokens-in-node-js-5aa9 if it is not helping try to search "JWT Authentication with Access Tokens & Refresh Tokens In Node JS"
@johnhsieh5118
@johnhsieh5118 2 жыл бұрын
如果有提供中文字幕就更棒了.
@xthematroix2515
@xthematroix2515 2 жыл бұрын
When I try to login, i get the message that the Password is incorrect. But I copied it from the DB so it has to be correct. Anybody can help me?
@mikedev4673
@mikedev4673 2 жыл бұрын
Hi you can’t copy the password from db because it is hashed, you have to use the regular password you created.
@muhammadharis-lo9nv
@muhammadharis-lo9nv 2 жыл бұрын
Hi sir why there is no model in here what is architecture u use in this programming
@mikedev4673
@mikedev4673 2 жыл бұрын
I hope that I understood the question, if you mean why there is no schema modal is because I did not use any ORM for this project. You can see the project is just raw SQL.
@muhammadharis-lo9nv
@muhammadharis-lo9nv 2 жыл бұрын
@@mikedev4673 ohh yes sir thank you🙂 i mean what pattern you use? , is this MVC pattern ?
@mikedev4673
@mikedev4673 2 жыл бұрын
@@muhammadharis-lo9nv yes
@bijayagiri5746
@bijayagiri5746 Жыл бұрын
hello sir...waiting for front end side solution as well.
@mikedev4673
@mikedev4673 Жыл бұрын
Hello, check out the channel it is posted already.
@ahmad-elshowair
@ahmad-elshowair Жыл бұрын
Hi there I have tried to find out why I'm getting the following error but nothing knocking my head Error: Unknown authentication strategy "jwt" I will be glad if you can give me any clue
PERN authentication full course (frontend)
1:18:00
Mike dev
Рет қаралды 10 М.
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 16 МЛН
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Stocat
Рет қаралды 15 МЛН
Implementing User Authentication With Node JS and PostgreSQL
1:29:33
Conor Bailey
Рет қаралды 117 М.
Build Node.js User Authentication - Password Login
13:31
Web Dev Simplified
Рет қаралды 511 М.
GPT4o Mini - Lightning Fast, Dirty Cheap, Insane Quality (Tested)
13:20
Nest.js - full authentication course
1:30:51
Mike dev
Рет қаралды 32 М.
Аутентификация. Сессии и JWT
23:37
senior_zone
Рет қаралды 8 М.
Register and login a user with JWT token
39:21
Hitesh Choudhary
Рет қаралды 44 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,5 МЛН
JWT Authentication using Node, Express & Postgres
1:43:12
Morgan Page
Рет қаралды 29 М.
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 16 МЛН