/simple-auth-app

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

Primary LanguageTypeScript

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.