Login Form using Next.js and MongoDB | Full Stack Guide Using Mongoose, App Router & Tailwind CSS

Поделиться
HTML-код
  • Опубликовано: 6 янв 2025

Комментарии • 4

  • @AdunolaAdenike-q3k
    @AdunolaAdenike-q3k 4 месяца назад +1

    Best tutor... Authentication and Authorization with service provider. Thanks 🙏... And keep dropping in series. Love from Nigeria ❤

  • @SandeepMaraboina
    @SandeepMaraboina 2 месяца назад +1

    bro how to pass middleware functions to other post or other http requests like to verify jwt token

    • @codewithyousaf
      @codewithyousaf  2 месяца назад

      Create a middleware function for JWT verification and apply it to your routes like this
      router.post('/', verifyToken, (req, res) => {})

    • @SandeepMaraboina
      @SandeepMaraboina 2 месяца назад

      @@codewithyousaf but in next js we create api like no bro
      function POST(request) {
      }