Create an AUTH app in MERN Stack with NextJS as frontend

Job ID: 34062122

Budget: ₹1,500 – ₹12,500 INR

I’ll choose the winner in the next 12 hours

I need this for my project,
I need a NextJS and reactJS project where there is a login system that asks for email and logs the user into a dashboard which says "welcome to the dashboard".

So here's step by step:
1. Using typescript create next js and react app
2. The login page should ask for email id and give an option for login using google one tap (https://developers.google.com/identity/one-tap)
3. If email is entered, a 4 digit code is sent to the email and the user enters that to get to the dashboard
4. If google one tap is used, the user then is directly sent to the dashboard
5. dashboard is only accessible if a user has been logged in via any of these methods
6. Context API in react to be utilised to store user details and auth status

BACKEND:
1. Using passportjs and expressjs a Nodejs rest API backend must be created.
2. We need to use jwt tokens for both authentication
3. API to login (there is no register as such, the user registers if there is no user with that email id, through the same flow)
4. API to validate the jwt on protected URLs
Related categories: Node.js React.js MongoDB MERN Stack Next.js