Role based redirect authentication system
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
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