DEV Community

Alamin Sheikh
Alamin Sheikh

Posted on

2 1

MERN Stack BoilerPlate with two type auth

Are you looking forward a Mern stack boilerplate with admin role and regular user auth included? This is the boilerplate for you!

Git Repo

Techonologies

  • MongoDb and Mongoose - MongoDb as a Database and mongoose as as a Object Data - Modeling library for MongoDB and Node.js
  • Express - as a backend Framework
  • React - as a Frontend Framework
  • Node - as a Server
  • Redux - for state Management (will be updated)
  • JsonWebToken - for creating JSON-based access tokens
  • bcryptjs - for hashing the user passwords

also two type of role one is admin role and another one is user role
when user or admin as a login then there data will save in the localStorage.

Feel free to give me some suggestions to improve it!
Happy coding to everyone!

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay