Implementing User Authentication With Node JS and PostgreSQL

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 245

  • @amitabhxyz
    @amitabhxyz ปีที่แล้ว +10

    Did the complete tutorial with you! Worked like a charm! Thank you for sharing this! :)
    Ahh quick edit: Since version 0.6.0 req.logout() function is asynchronous. So towards the end, for logout the code should be modified as follows:
    ```
    app.get("/users/logout", (req,res) => {
    req.logOut(function(err) {
    if (err) { return next(err); }
    req.flash("success_msg", "You have successfully logged out.");
    res.redirect("/users/login");
    });
    });
    ```

    • @sarajarjen
      @sarajarjen 10 หลายเดือนก่อน

      Thank you so much ! 😀

    • @seankennelly2984
      @seankennelly2984 7 หลายเดือนก่อน

      I also had this issue and resolved it the same way!

    • @ShifaAfreenSiddiqui
      @ShifaAfreenSiddiqui 6 หลายเดือนก่อน +1

      ​ Hey, I've been stuck at 51:24, where he creates a pool for querying data to see if the users are already registered. Where when he creates the call back function, all is working fine until i create the if condition wherein 'if the results.rows.lentgh>0) for some reason my application is crashing at run time throwing errors and I can't figure out how. Can you help me? I've been stuck at it all day...

    • @emmanuelnwonu819
      @emmanuelnwonu819 3 หลายเดือนก่อน

      try the condition, results.length>0, it will work​@@ShifaAfreenSiddiqui

  • @armer18
    @armer18 4 ปีที่แล้ว +32

    49:13 - How to register users in DB with hashed passwords etc.
    1:03:44 - How to login

    • @yarikks1862
      @yarikks1862 3 ปีที่แล้ว

      thanks

    • @nmasichichukwuemeka5047
      @nmasichichukwuemeka5047 3 ปีที่แล้ว

      thank you

    • @ShifaAfreenSiddiqui
      @ShifaAfreenSiddiqui 6 หลายเดือนก่อน

      ​@@yarikks1862 Hey, I've been stuck at 51:24, where he creates a pool for querying data to see if the users are already registered. Where when he creates the call back function, all is working fine until i create the if condition wherein 'if the results.rows.lentgh>0) for some reason my application is crashing at run time throwing errors and I can't figure out how. Can you help me? I've been stuck at it all day...

  • @talhazaryab
    @talhazaryab 3 ปีที่แล้ว +1

    They say that the Devil works hard. Everyone’s wrong. You work harder.
    This was the most needed tutorial for me. It helped me alot.

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว

      Thanks Tahla! So glad it helped you out!

  • @taylorgraham2906
    @taylorgraham2906 4 ปีที่แล้ว +22

    Amazing video! I ended up needing to use react for my frontend but this was the best explanation ever. Definitely will watch more of yours! :)

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว

      Thanks for watching and for your comment Taylor. Glad it helps. 👍

    • @MasterPritex
      @MasterPritex 4 ปีที่แล้ว +2

      Hi Taylor, i saw that you used react for the frontend, how have you managed to fetch the login token through the server api?

    • @taylorgraham2906
      @taylorgraham2906 4 ปีที่แล้ว +1

      @@MasterPritex I ended up using a JSON web token instead of passport. It simplified the process quite a bit. Here is another helpful tutorial from Stoic: th-cam.com/video/7UQBMb8ZpuE/w-d-xo.html . I'd still love to see @Conor's take on how to do so :)

    • @jameswbsstudent7332
      @jameswbsstudent7332 4 ปีที่แล้ว

      can u share taylor how you did the front end version of this or share your working github link for that and any set up instructions? thanks

    • @windubitably
      @windubitably 3 ปีที่แล้ว

      I’m using React and JWTs, too, and I still found this video super helpful.

  • @LightningFox2407
    @LightningFox2407 3 ปีที่แล้ว +5

    absolute legend - so many concepts explained very well and linked together all at once, thank you!

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว

      Glad it helped dude! :D

  • @FlukeHusky
    @FlukeHusky 4 ปีที่แล้ว +8

    This has been super helpful. Thank you so much for making this tutorial!!

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว

      Thank you Fluke. Glad it helped mate.

  • @parfaitmombo7471
    @parfaitmombo7471 4 ปีที่แล้ว +3

    Thanks, Conor! I appreciated the way you went step by step and mentioned what you will be doing in each step. It helps a lot to have a logical flow. Cheers! By the way, I also created a Donal Trump account as you did.

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว

      Haha nice. His was the first name that came to my head 😂

  • @gregorvand4790
    @gregorvand4790 3 ปีที่แล้ว +5

    Great tutorial - easy to follow along, and like some others have said, seeing the debugging is good and keeps knowledge fresh for the viewer. More of these!

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว

      Cheers Gregor! Glad it helped mate!

  • @MoonlightReserve
    @MoonlightReserve 4 ปีที่แล้ว

    I rummaged through all TH-cam in search of a similar video, thank you very much, you helped me do my term paper.

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว

      Awesome mate! Thanks for watching and good luck with the rest of your course 👍

  • @MasterPritex
    @MasterPritex 4 ปีที่แล้ว +1

    Wow man, i saw literally every tutorial in the first page of youtube, but yours is on another level. Keep going pal!

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว

      Thanks mate. Glad it helped!

    • @MasterPritex
      @MasterPritex 4 ปีที่แล้ว

      @@ConorBailey I have only one question, how do i connect the react frontend with the express api? I have tried using fetch on the app.post /login, but i don't know how to store the cookie on the client side.

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว +1

      Red Hood will look into this and get back to you mate.

    • @jameswbsstudent7332
      @jameswbsstudent7332 4 ปีที่แล้ว +1

      @@ConorBailey @Red Hood hi i really have urgent need for the same, can you help please today or tomororw on front end...plus see comment above..thanks´so much

  • @Samsul2013
    @Samsul2013 3 ปีที่แล้ว

    Hi Conor, it seems your video is the best without distracting me from other issues unrelated to auth in the lesson

  • @seankennelly2984
    @seankennelly2984 7 หลายเดือนก่อน

    Excellent, really helpful and easy to follow! I'm glad you left some mistakes in the video as they gave a chance for me to check my code and find them myself

  • @raffayahmed9390
    @raffayahmed9390 2 ปีที่แล้ว

    Perfect Explanation, I'll surely use this whole auth system in my projects !!

  • @Samsul2013
    @Samsul2013 3 ปีที่แล้ว

    The most brilliant instructor on earth

  • @knowledgemagnetic4518
    @knowledgemagnetic4518 4 ปีที่แล้ว +3

    Great tutorial. Everything worked and I learned a lot in the process. Thanks!!!

  • @mephesh
    @mephesh 4 ปีที่แล้ว +4

    I followed the video coding all the way to the end and yes it just works. Learned everything about passport along the way, and ejs. Thank you Conor. Next step is to write some react pages that consume it as a api. I noticed the project does some specials with ejs/routing/redirecting so it will be interesting. Might have to remove the specials to have it work with react not sure, all up great vid. I do like that the project has ejs pages that can test everything, bit like a swagger. api time!

    • @shalinichahar6389
      @shalinichahar6389 9 หลายเดือนก่อน

      hi please can you tell how did you connect react?

  • @salmanshahzad2496
    @salmanshahzad2496 2 หลายเดือนก่อน

    Watched the complete tutorial from Pakistan was really helpful

  • @olaman
    @olaman 2 ปีที่แล้ว

    this was awesome! i was transalting your JS to TS. Challenging but worth it

  • @andreygrigorev8366
    @andreygrigorev8366 4 ปีที่แล้ว

    That video helped me so so much! Finally i can make auth at my website. You have no clue how i'm grateful to you, subbed.

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว +1

      Awesome! Glad it helped Andrey!

  • @blackboxCS
    @blackboxCS ปีที่แล้ว

    i never comment but this was a great video even after 2 years. thank you.

  • @phrankadams7181
    @phrankadams7181 11 หลายเดือนก่อน

    We didnt see the connection made between the app and the database,just the codes...but i really loved this video

  • @katanwillis
    @katanwillis 3 ปีที่แล้ว +1

    Thank you . This is an Amazing Video. Your video is more clearly to understand bfor a beginner.

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว

      Thank you! Glad it helped!

    • @katanwillis
      @katanwillis 3 ปีที่แล้ว

      Could you consider making other version
      using typescript and html ?

  • @not_shank
    @not_shank 3 ปีที่แล้ว +1

    Excellent video....I was able to follow and understand the concepts very well... However, there is a security concern that the memory may leak by using express-session. A simple fix is to use cookie-session instead and continue as usual . I'd love to see more of such contents . Thank you :)

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว

      Hey Shashank! Thanks for watching bud. Appreciate the tip as well! Will look into cookie-session. Nice one!

  • @samkiernan8878
    @samkiernan8878 2 ปีที่แล้ว +1

    Mate this shit is so good, you ever come to Norwich I will treat you so right ;)

    • @samkiernan8878
      @samkiernan8878 2 ปีที่แล้ว +1

      litterally clapping right now mate, bravo!!!!

  • @kitestance
    @kitestance 2 ปีที่แล้ว

    Thank you for showing the mistakes and errors. Good stuff.

  • @Jaimie-C
    @Jaimie-C 8 หลายเดือนก่อน +1

    Do you have a video on how to connect something like this to front end projects in HTML, CSS, JS? Thanks for the great vid!

  • @piyaasok
    @piyaasok 3 ปีที่แล้ว

    Great tutorial .Thanks! . This was exactly what i was looking for . Like to add a forgot password option to this.

  • @test-qm5vt
    @test-qm5vt 2 ปีที่แล้ว +1

    if anyone gets this error due to new passport version: req#logout requires a callback function, here is the fix for the logout endpoint
    app.get('/users/logout', function(req, res, next) {
    req.logout(function(err) {
    if (err) { return next(err); }
    req.flash('success_msg', "You have logged out.");
    res.redirect("/users/login");
    });
    })

  • @mrexpert1854
    @mrexpert1854 2 ปีที่แล้ว

    Thanks Sir... This was really helpful looking forward to more gr8 content from you....

  • @silviacabrera1721
    @silviacabrera1721 3 ปีที่แล้ว +1

    Thank you!
    As recomendation when you get the error of pending in the process (just like happend to me) it appears to be a problem with pg. You can use npm uninstall pg --save and then install it again with npm install pg --save. That solves the problem

    • @jbarben3
      @jbarben3 2 ปีที่แล้ว +1

      This worked for me, thank you!

  • @Karafakioglu
    @Karafakioglu ปีที่แล้ว +1

    For anyone having an issue with req.logout();
    It requires callback function so it is
    app.get("/users/logout", (req, res) => {
    req.logout(() => {
    req.flash('success_msg', 'You are logged out');
    res.redirect("/users/login");
    });
    });

  • @maheswaranparameswaran8532
    @maheswaranparameswaran8532 4 ปีที่แล้ว

    Thanks a lot Conor for this tutorial, really helped me a lot for my Project!!!...Keep up the good work man

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว +1

      Thank you very much mate. Glad it helped!

  • @sanlaynx
    @sanlaynx 3 ปีที่แล้ว

    thanks for the video, couldn't find such info about authorization

  • @abhishekabramaina6167
    @abhishekabramaina6167 ปีที่แล้ว

    you can use word wrap toggled on to handle such long strings getting out of the window

  • @Sindoku
    @Sindoku 3 ปีที่แล้ว

    Thanks, I have finally done my own secure authentication in JS thanks to you!

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว

      Nice one Brian. Glad it helped mate.

    • @Sindoku
      @Sindoku 3 ปีที่แล้ว +2

      @@ConorBailey You don't know how long I've been trying to do proper server side authentication and authorization. I've done single refresh tokens before, but they are less secure than jwt with a refresh token. Now, that I know how to properly authenticate and authorize people, I can move on to the next phase of my idea for a website that sells services.

    • @RaefetOuafiqo
      @RaefetOuafiqo 3 ปีที่แล้ว

      @@Sindoku is he using JWT ?

  • @luisalbertovillarortiz7424
    @luisalbertovillarortiz7424 2 ปีที่แล้ว

    Thanks for sharing and teaching us It was a handy and neat way to blend/mix and use these useful skills! On the other hand I want to ask you how to continue typing after (END) IN MINUTE 4:49 .... thanks!! you have my like!!!

    • @pranav_arya
      @pranav_arya 2 ปีที่แล้ว +1

      just press enter

  • @riccardovitali3564
    @riccardovitali3564 4 ปีที่แล้ว

    Great video, thank you very much, I love when you solve the issue, it's debugging!

  • @pawelraszkiewicz565
    @pawelraszkiewicz565 3 ปีที่แล้ว

    great tutorial! Really helped me grasp passport

  • @orlandoemilianogarciadiaz2531
    @orlandoemilianogarciadiaz2531 3 ปีที่แล้ว +1

    Great video, buddy. But researching a few, I have just figured out that express-session will be deprecated soon for security troubles. In that case I recommend to use JWT, which encrypts the information during the session.

  • @nikitagupta8114
    @nikitagupta8114 4 ปีที่แล้ว

    Thank you so much. The tutorial was so nicely explained and it is very helpful for beginners. Keep it up!

  • @xXBaad13Xx
    @xXBaad13Xx 4 ปีที่แล้ว +1

    Thank you so much. This tutorial is amazing and really useful!

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว +1

      Diego Aguirre cheers Diego. Glad it helps! 👍

  • @mufty_codes
    @mufty_codes 4 ปีที่แล้ว +1

    This is a great video. Thanks man. I just recommended this video for a friend
    I am stucked somewhere: around the 50th minute of the tutorial, where you did the validation check for "If the user already exists". I don't know what's wrong, I just keep getting error at that point. Here is what it says:
    C:\Users\DELL\Desktop\Workspace\auth\server.js:57
    throw err
    ^
    Error: connect ECONNREFUSED 127.0.0.1:5432
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1106:14)

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว

      Lateef Olayinka Quadri hi mate. Thank you for watching and for sharing. Much appreciated. It’s hard for me to say where that error is coming from without seeing the full code. Maybe this article will help:
      stackoverflow.com/questions/14168433/node-js-error-connect-econnrefused
      Let me know how you get on. Thanks again.

    • @mufty_codes
      @mufty_codes 4 ปีที่แล้ว

      @@ConorBailey Thank you!
      I have solved it using try() and catch().

    • @mufty_codes
      @mufty_codes 4 ปีที่แล้ว

      Another question that I have is that: is bcrypt enough to rely on for password hashing? Can one still use stuff like JWT?

  • @Azeez_Omar
    @Azeez_Omar 2 หลายเดือนก่อน

    Coner…. Thank you for a great video and detailed explanation
    Just out of curiosity, did you try to deploy it on Render ?

  • @dk-xh7um
    @dk-xh7um 7 หลายเดือนก่อน

    does this work with .html files?

  • @ebenezersiaw935
    @ebenezersiaw935 4 ปีที่แล้ว

    Thanks a lot Conor Bailey. God bless you

  • @FrankUnderwoood
    @FrankUnderwoood 4 ปีที่แล้ว

    Thank you for this amazing tutorial man! It was super helpful for me.

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว +1

      Glad it helped you Frank! 👍

  • @seans2366
    @seans2366 2 ปีที่แล้ว

    Great video, but the express logout function has been updated and now requires a callback function. I included the redirect to login inside the 'req.logout(redirect in here)' and now it works.
    But overall, great video, super simpe to understand and easy to follow along.

    • @ashishpurohit4352
      @ashishpurohit4352 2 ปีที่แล้ว

      How did you solve it can you explain me ???

    • @Karafakioglu
      @Karafakioglu ปีที่แล้ว

      @@ashishpurohit4352 app.get("/users/logout", (req, res) => {
      req.logout(() => {
      req.flash('success_msg', 'You are logged out');
      res.redirect("/users/login");
      });
      });

  • @marcocamparone3674
    @marcocamparone3674 3 ปีที่แล้ว

    Great tutorial! Thanks from Arg!

  • @daviesadedeji5344
    @daviesadedeji5344 4 ปีที่แล้ว

    you are a Very good teach id recommend you any time. Great job. Also kindly take use more on ejs(cos im new to it), angular, and nestjs

  • @belmedia7326
    @belmedia7326 4 ปีที่แล้ว +1

    Useful tutorial! Thank you!

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว

      Glad it was helpful!

  • @farawayofme2918
    @farawayofme2918 10 หลายเดือนก่อน

    Great tutorial - thanks for simblicity.... if you dont mind how to make search engine with node.js and postgres

  • @king998100
    @king998100 4 ปีที่แล้ว

    appreciate your contribution! regards from M'sia.

  • @parminderkaur4136
    @parminderkaur4136 3 ปีที่แล้ว

    this is the best video I ever saw. thank you very very much. Also can you upload video tutorials on how to make smart contracts in blockchain.

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว +1

      Hey thanks Parminder! Really glad you found this helpful. I don’t know much about blockchain to be honest. The best place to start would be this video an evolve from there: th-cam.com/video/zVqczFZr124/w-d-xo.html All the best. Conor

  • @didahandian6029
    @didahandian6029 2 ปีที่แล้ว

    thank you for the tutorial its helpful for me

  • @Maik-wi2vy
    @Maik-wi2vy 3 ปีที่แล้ว

    All in all a good video. But you could have mentioned that the default server-side session storage is purposely not designed for a production environment and that you should use a session store.

  • @samshaker7945
    @samshaker7945 3 ปีที่แล้ว

    Great tutorial! Thankyou Conor.

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว

      Glad it helped Sam. Thanks for watching bud 👍

  • @brahimhomri113
    @brahimhomri113 2 ปีที่แล้ว

    Thank You So Much , Great Presentation

  • @justindb83
    @justindb83 4 ปีที่แล้ว

    Great video, very helpful!, would be cooler if this was split out to separate VS Projects, i.e. front end code, and back end code. EJS though... yuck. I guess this reminded me on why I use lit-html templates instead now :)

  • @alexpeirson4278
    @alexpeirson4278 4 ปีที่แล้ว

    Super clear and helpful tutorial, thank you :)

  • @yosimarzahidaquinososa5893
    @yosimarzahidaquinososa5893 4 ปีที่แล้ว +1

    thanks for the video, you have helped me a lot

  • @williamtrapp2857
    @williamtrapp2857 4 ปีที่แล้ว

    Awesome video and link to the source code. I was able to work through getting my app up.

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว

      William Trapp nice one William!

  • @venkateshkoppuravuri1180
    @venkateshkoppuravuri1180 4 ปีที่แล้ว +2

    i am getting undefined these fields(name, email, password, password2) when i did console.log @ 40th minute

    • @BarryThatcher
      @BarryThatcher 4 ปีที่แล้ว +1

      Same here... been trying to look at his source code to see if I've made any mistakes.

    • @y.d.y1293
      @y.d.y1293 4 ปีที่แล้ว +1

      @@BarryThatcher you fixed it? im get an error too

  • @raviprakashsingh9782
    @raviprakashsingh9782 4 ปีที่แล้ว

    Amazing video and content, you really helped me out. Thanks

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว +1

      Ravi Prakash Singh n😊Nice one Ravi. Glad it helped mate! 👍

  • @ayushthakur733
    @ayushthakur733 3 ปีที่แล้ว

    This video has all the information I wanted but somewhere the "why" is missing I think

  • @lyonserdar
    @lyonserdar 4 ปีที่แล้ว

    Thanks for the great tutorial!

  • @roghanbehm4639
    @roghanbehm4639 ปีที่แล้ว

    exactly what i needed, cheers

  • @mcaddit6802
    @mcaddit6802 3 ปีที่แล้ว

    Could you pls make a video on how to insert image to the database(PostgreSQL)

  • @harshavardhannakkina1843
    @harshavardhannakkina1843 4 ปีที่แล้ว

    awesome, great video, thank you very much

  • @tamilpick7950
    @tamilpick7950 ปีที่แล้ว

    Thanks a lot ! It is really helpful 😇

    • @benjaminfisher3869
      @benjaminfisher3869 ปีที่แล้ว

      hi have you got this working? could you link your github repo, im stuck

  • @frederikdiamond
    @frederikdiamond ปีที่แล้ว

    Great video. I learned a lot 👍

  • @mohakgaur4603
    @mohakgaur4603 ปีที่แล้ว

    How do you add a semicolon at the end of the line while your cursor is not at the end, like is there any keyboard shortcuts or something...?

  • @manuelbarinas5960
    @manuelbarinas5960 4 ปีที่แล้ว

    great job! this is the most complete video i have seen on youtube. Is there a possibility to explain something similar using vue?

    • @samiayahia2879
      @samiayahia2879 4 ปีที่แล้ว

      hey,i need a help ,can you help me please ?

  • @simaobonvalot7697
    @simaobonvalot7697 2 ปีที่แล้ว

    Is the passport library equivalent to the JWT ? I mean , do they have the same functionality ?
    Cheers mate , thanks for the video🙏

  • @itzblinkzy1728
    @itzblinkzy1728 4 ปีที่แล้ว +1

    Great explanation, thank you :)

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว

      Itz Blinkzy thanks Itz! Glad it helped

  • @jusuftopic1733
    @jusuftopic1733 3 ปีที่แล้ว +1

    Hallo! I have problem with command npm run dev. Already something on port. When I checked list of items on this port, it was empty😐

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว

      Have you tried using a different port number?

  • @abdullah44gur
    @abdullah44gur ปีที่แล้ว

    Hi, My database does not work. Throw error, permission denied for table How can we fix this problem. Thank you.

  • @mykhailostepanishchev6472
    @mykhailostepanishchev6472 4 ปีที่แล้ว +1

    Amazing, thank you.

  • @MohsinAnsari-j2c
    @MohsinAnsari-j2c ปีที่แล้ว

    Hi Conor, Very good video, specially for beginners.
    I need to know how can we call postgres stored procedure, when i try it says object does not exist.

  • @sarajarjen
    @sarajarjen 10 หลายเดือนก่อน

    Great video, thank you ! :))

  • @jamieplunkett9669
    @jamieplunkett9669 4 ปีที่แล้ว

    Thank you so much!! this is amazing stuff

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว

      Thanks Jamie. Glad it helped dude!

  • @tayyabmughal10000
    @tayyabmughal10000 ปีที่แล้ว

    Thanks for the github link...😘😘

  • @jameswbsstudent7332
    @jameswbsstudent7332 4 ปีที่แล้ว +1

    @ConorBailey Thank you for a great tutorial. With a little more explanation on the lines of code the THEORY instead of those parts where you just coded in stuff, it would be perfect ..perhaps u could edit and add a recap to go through the final code walkthrough with theory? and also since many of us are using React Front End, how we can integrate this to the Front End? It is a little confusing the purpose on the back end only with Express and Postgres, instead of a React Express Postgres altogether. How would we change our code, how much can we keep, can all this be used as part of our front end user app? I have to figure that out by tomorrow, LOL. if you can help give some details on how to do this. Thanks. Also, 1) In general, when we download your finished app from github, and run npm install, then npm start, it still does not work, even when i change the .env file to my postgres setup.i..how do we get your app to work)

  • @thalleskaic
    @thalleskaic ปีที่แล้ว

    thank you it really helped!!

  • @marcincylkowski3004
    @marcincylkowski3004 4 ปีที่แล้ว

    Thanks for your video! It is amazing

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว

      Nice one Marcin 👍

  • @alexm1126
    @alexm1126 ปีที่แล้ว

    hello, a small comment, the req logOut method now requires a callback function, I got the error until I found on the internet it now is asynchronous

  • @RobrotoPlays
    @RobrotoPlays 2 ปีที่แล้ว

    my savior + it''s on mac. :) TYSM

  • @stevensong6909
    @stevensong6909 4 ปีที่แล้ว +2

    I LIKE IT !

  • @abdullah44gur
    @abdullah44gur 2 ปีที่แล้ว

    Hi, amazing video. When I cloned your source code on github, it didn't run register and login button in login and signup page. I didn't understand why not work it. Display result on the terminal screen, but does not open dashboard page, also doesn't save the change on the database. Please help me, thank you.

  • @Teach_Udemy
    @Teach_Udemy 10 หลายเดือนก่อน

    Amazing vide

  • @rowlandwilliams9827
    @rowlandwilliams9827 4 ปีที่แล้ว

    Hey Conor,
    This tutorial is really helpful, thank you. Cleared up a lot of things I was unclear about. I know lots of people have asked, but you mentioned in an earlier comment that you were working on a similar tutorial incorporating a react front-end. I was just wondering if you ever uploaded this? Now that I have a backend with authentication set-up I'm going to try connect it with react but would be great to see how you would approach it.
    Cheers,
    Rowland

    • @ConorBailey
      @ConorBailey  4 ปีที่แล้ว

      Hi Rowland. Glad the tutorial helped. I do remember mentioning that but I just never got round to doing it. I haven't used React for a while now tbh but I will try to look into making a tutorial for this. Im sure there are packages available for handling flash messages and sessions with Passport in React.

  • @fabricioalvarez3895
    @fabricioalvarez3895 4 ปีที่แล้ว

    Thank you so much, you're amazing!!!

  • @codingdaily4094
    @codingdaily4094 4 ปีที่แล้ว

    How to send a message on error to the Front-End if we have a backend made with Vue ? Please help me I'm stuck

  • @jameswbsstudent7332
    @jameswbsstudent7332 4 ปีที่แล้ว

    conor thanks for this great tutorial, it really is super good....can you also let us know how to take this and what would be need to transform this into REACT front end? i assume we are building this user registration here for admin users to the server app or would we use this for a client facing application as well or can we take the code and move stuff over to client side? ( have to do a login to my app for all users

  • @otepiii
    @otepiii 4 ปีที่แล้ว

    awesome video! thanks a lot!

  • @avdao9338
    @avdao9338 4 ปีที่แล้ว

    Hello the video is very instructive, can you explain to me how I can add another route next to the dashboard when I log in to put me on that route

  • @alesofton
    @alesofton 4 ปีที่แล้ว

    good and perfect, thanks from chile

  • @atronstechnologies
    @atronstechnologies 6 หลายเดือนก่อน

    Nice Conor. But when i click register after feiling all fill the routing is load and don't finish and the data isnot insert to the database. what is the problem will be?

  • @alexwhitmore4902
    @alexwhitmore4902 3 ปีที่แล้ว

    PLEASE HELP: at 4:04, what is the command you press to get out of the (END)?

  • @hernanbritos1977
    @hernanbritos1977 4 ปีที่แล้ว

    Nice video men!!! Loves from arg

  • @rodgamwo
    @rodgamwo 8 หลายเดือนก่อน

    amazing. thanks a lot