simple-auth-app icon indicating copy to clipboard operation
simple-auth-app copied to clipboard

Simple role-based authentication app with MERN stack for Ecologital.

multi-role authentication

Simple multi-role based authentication app.

Follow these steps to run the app on your local machine,

Assume you have node & mongodb installed

  1. Run "npm install" from the backend directory & Run "npm install" from the frontend directory.
  2. To start the development servers simultaneously for both backend and frontend, Run "npm run dev" from the backend directory.

OR

Run frontend and backend separately,

commands:

  1. frontend-only -> Run "npm start" from the frontend directory.
  2. backend-only -> Run "npm run server" from the backend directory.