Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.
/ nextwithnextauth Public archive

this is a boilerplate project for building a Next.js application with NextAuth, Prisma, and Tailwind CSS. It provides a starting point for building authenticated applications

Notifications You must be signed in to change notification settings

safarrr/nextwithnextauth

Repository files navigation

Next.js Boilerplate with NextAuth, Prisma, and Tailwind CSS

This is a boilerplate project for building a Next.js application with NextAuth, Prisma, and Tailwind CSS. It provides a starting point for building authenticated applications

Features

  • NextAuth for authentication and authorization
  • Prisma for database access and management
  • Tailwind CSS for styling
  • PNPM for package management

Getting Started

  1. Clone the repository:
git clone https://github.com/safarrr/nextwithnextauth.git
  1. Clone the repository:
cd nextwithnextauth
  1. Install the dependencies using PNPM:

if you want to use npm please read this

pnpm install
  1. Rename the .env.example file to .env.

  2. Run the database migrations

pnpm prisma migrate dev --name init
  1. Start the development server
pnpm dev

Configuration

  • NextAuth: You can configure authentication providers and options in the src/lib/auth.ts file.

Learn More

To learn more about the tools and technologies used in this boilerplate, please refer to their official documentation:

Next.js Documentation

NextAuth Documentation

Prisma Documentation

Tailwind CSS Documentation

pnpm Documentation

About

this is a boilerplate project for building a Next.js application with NextAuth, Prisma, and Tailwind CSS. It provides a starting point for building authenticated applications

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published