atapas / quotes

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

login

The Quotes Screen:

quotes

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

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

Stargazers repo roster for @atapas/quotes

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!

About

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

License:MIT License


Languages

Language:JavaScript 95.3%Language:CSS 4.7%