We have created this app using Next.js, Node and web 3. For registration user enters username,email address and password. A verification link will be sent to provided email. After verifying the link the user will be able to login to the dashboard by using email address and password. If a user has forgot his password he can reset it by providing his email. A link will be sent to the provided email to reset the password. User can reset the password and then login.
- Run 'npm install' to install all of the dependencies
- To run this project properly you need to run Next.js development server and Node API server at the same time
- To run Next.js application run 'npm run dev' and open browser at localhost:3000
- To run Node API server run 'npm run server' in new terminal window(servers has to run at the same time), it will run server at localhost:3001
- Create a '.env' file in root folder by copying env[replace] or with values of:
GOOGLE_USER=your email // e.g [email protected] GOOGLE_PASSWORD=your gmail app password // 12345678 DOMAIN=your domain // e.g http://localhost:3000
- Sign in to your gmail account.
- Go to Settings -> Security.
- Set up 2 Step verification.
- Set up app password.