Skip to content

siddhikhapare/reduxwithreact_auth_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

reduxwithreact_auth_app

Role based redirect authentication system

client

To get the server running locally:

  • npm install to install all required dependencies.
  • replace the environment variables in .env and also add your Firebase api Key in firebase.js file.
  • npm start to start the local server. By default the local server will start on port 3000

server

To get the Node server running locally:

  • npm install to install all required dependencies
  • replace the environment variables in .env and add your mongodb atlas api key.
  • npm start to start the local server
  • In config folder add your firebase service account key to verify user's token.

Refer the link - File setup