NextJS Project Tutorial - User Signup Api - 10

Sdílet
Vložit
  • čas přidán 6. 09. 2024
  • Hey Friends,
    In this NextJS Project Tutorial we will be discussing about user signup api. we are going to use mongodb database for storing user record and bcrypt for password hashing and some useful code pattern.
    NextJS Project Tutorial - User Signup Api - 10

Komentáře • 14

  • @sahnb
    @sahnb Před 2 lety

    Superb tutorial, I really enjoyed the your content well explained.
    Only at this point I face the error till now, after 2 hours surfing I am able to fix. I paste here might be helpfull for someone.
    20:22
    const saveUser = await user.save();
    if (saveUser) {
    const { password, ...responseUser } = saveUser._doc;
    responseHandler(responseUser, res, 201);
    } else {
    errorHandler("Something went wrong", res);
    }

    • @sahnb
      @sahnb Před 2 lety

      😀😀😀😀😀😀😀😀 after complete watch, I should delete my comment...!!any way superb content Rizwan Khan, you are awesome. if you add role-based access video, then anyone can do anything in nextjs.

    • @kubilaybzk
      @kubilaybzk Před 2 lety

      if u push it on github can you share with me please ?

    • @sahnb
      @sahnb Před 2 lety

      ​ @Kubilay my suggestion, follow the tutorial, for learning and practice. Even just code line by line, during watch tutorial. if you want seriously learn to programing.

    • @kubilaybzk
      @kubilaybzk Před 2 lety +1

      @@sahnb No bro ı already done this project. ı mean ı just want to see your solution because ı had the same problem as you but ı solve it.

  • @edgarsblog
    @edgarsblog Před rokem

    Hi Rizwan, thanks for the tutorial, I have an error with this part {errorMessage && (

    {errorMessage}

    )}
    `Promise Error: Objects are not valid as a React child`. Can you help ?

  • @sallehshah
    @sallehshah Před rokem +1

    can you create a series on AWS-AMPLIFY and NEXTJS bignner to Advance... as their is not any complete series on aws-amplify that explains the advance features.

  • @jimmyhung6087
    @jimmyhung6087 Před 2 lety +1

    damn that mongoose bug give me PTSD

  • @websolutionsexpert
    @websolutionsexpert Před 2 lety

    Thank you so much, please source code link for clear learning next js project

  • @somyaranjankhatua7746
    @somyaranjankhatua7746 Před 2 lety

    Sir how to deploy mern website on hostinger