Skip to content

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

Notifications You must be signed in to change notification settings

rooneyrulz/simple-auth-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.