Sign in
Log inSign up
How to add user authentication to MERN stack?

How to add user authentication to MERN stack?

Hank Huang's photo
Hank Huang
·Mar 31, 2016

MERN is easy to understand and I had a great time building my first React/Redux app with it.

However, I don't know how to add user login function by linking react-router to authentication information contained in Redux tree. I found a package called react-router-redux don't know how to plug it into server.js in MERN, since MERN is using a different way of server rendering.

Highly appreciated for any solution Thanks~

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct