Skip to content

⚡ Passwordless Authentication with Next.js, Prisma, and next-auth.

Notifications You must be signed in to change notification settings

icaroov/nextjs-auth-starter

Repository files navigation

NextJs

Next.js Authentication Start kit

Passwordless Authentication with Next.js, Prisma + Postgres, and next-auth.

next-auth OAuth demo

Getting Started

# Clone this repo
git clone https://github.com/icaroov/nextjs-auth-starter

# Go to file project
cd nextjs-auth-starter

# Install dependencies
npm install
# or
yarn

With docker and docker-compose installed on your machine, just run the following command:

docker-compose up -d

Then run the development server:

npm run dev
# or
yarn dev

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

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

Prisma Studio

Prisma Studio is a visual editor for the data in your database.

You can run it with two ways:

  1. Run npx prisma studio in your terminal. Runnings on http://localhost:5555/.
  2. Install the desktop app from the installers. Windows, macOS and Linux are supported.

About

⚡ Passwordless Authentication with Next.js, Prisma, and next-auth.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published