Retell is an app to get you famous quotes from famous people around the world. This app is created to demonstrate the integration of SuperTokens Authentication with Nextjs.
We use the Passwordless recipe of SuperTokens to fetch quotes in a guarded way and show them in a Nextjs component.
The Login Screen:
The Quotes Screen:
Liked it? Please support the project with a STAR(⭐).
First, you need to install dependencies for Retell:
npm install
# or
yarnCreate a .env.local file at the root of the project with the following content:
NEXT_PUBLIC_NODEMAILER_USER=<YOUR_GMAIL_ID>
NEXT_PUBLIC_NODEMAILER_PASSWORD=<YOUR_GMAIL_PASSWORD>
NEXT_PUBLIC_APP_URL=http://localhost:3000Important Note: The Gmail id and password is required to send OTP over email. Please do not use your personal Gmail id for this purpose. You can create a fake gmail id and lower the security settings to use it for testing purposes.
Then, run the development server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
- SuperTokens Documentation - The documentation for SuperTokens
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the repository - your feedback and contributions are welcome!

