quotes

A project to demonstrate the integration of SuperTokens's Passwrodless auth and Nextjs

MIT License

Stars
16

Retell

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.

Screenshots

The Login Screen:

The Quotes Screen:

Liked it? Please support the project with a STAR(⭐).

Many Thanks to all the Stargazers who has supported this project with stars(⭐)

Getting Started

First, you need to install dependencies for Retell:

npm install

# or

yarn

Create 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:3000

Important 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 dev

Open http://localhost:3000 with your browser to see the result.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the repository - your feedback and contributions are welcome!

Badges
Extracted from project README
Stargazers repo roster for @atapas/quotes
Related Projects