12 thoughts to “Login Page with React.js, MongoDB: MERN JWT Authentication example”

  1. Sir/ Madam, I am very grateful for your tutorial. But I can’t find how to login as moderator or admin through the UI

    1. Hi, currently we signup as mod/admin with Rest APIs using HTTP Client as postman. You can read backend tutorial for more detail.
      If you want to signup a user for admin role, you can add roles array into signup POST request payload.

  2. Hi, thank you for your amazing tutorial.
    I just noticed that in the screenshot of the project structure, there is folder called middelware and when importing the modules, referred as middlewares that why my application did not run server.js. Once i renamed the folder into middlewares everything was ok and the application was running without any issues.

  3. Man!, much appreciated for this post ,explanation and code just cleared many of confusing concepts.

    1. Hi, you can find the Github source code in tutorials that I mention in Conclusion section. 🙂

  4. Can’t believe you actually sharing this info, very much appreciated!
    You even detailed how others implementations like Redux works, I’m a starter so this is so useful

Comments are closed to reduce spam. If you have any question, please send me an email.