Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atapas/quotes
A project to demonstrate the integration of SuperTokens's Passwrodless auth and Nextjs
https://github.com/atapas/quotes
nextjs react supertokens supertokens-backend supertokens-frontend
Last synced: 30 days ago
JSON representation
A project to demonstrate the integration of SuperTokens's Passwrodless auth and Nextjs
- Host: GitHub
- URL: https://github.com/atapas/quotes
- Owner: atapas
- License: mit
- Created: 2022-02-14T16:09:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-25T04:01:23.000Z (over 2 years ago)
- Last Synced: 2024-05-01T17:16:01.529Z (7 months ago)
- Topics: nextjs, react, supertokens, supertokens-backend, supertokens-frontend
- Language: JavaScript
- Homepage:
- Size: 234 KB
- Stars: 16
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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(⭐)
[![Stargazers repo roster for @atapas/quotes](https://reporoster.com/stars/atapas/quotes)](https://github.com/atapas/quotes/stargazers)
## Getting Started
First, you need to install dependencies for `Retell`:```bash
npm install# or
yarn
```Create a `.env.local` file at the root of the project with the following content:
```bash
NEXT_PUBLIC_NODEMAILER_USER=
NEXT_PUBLIC_NODEMAILER_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:
```bash
npm run dev
# or
yarn dev
```Open [http://localhost:3000](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:
- [SuperTokens Documentation](https://supertokens.com/docs/community/introduction) - The documentation for SuperTokens
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.You can check out the repository - your feedback and contributions are welcome!