Skip to content

Originally cloned from Vercel's starter template, but they decided to switch to drizzle as ORM. We prefer using prisma and thought of making this available to all who would like to use this.

Notifications You must be signed in to change notification settings

capabletechnologies/nextjs-auth-prisma-starter-template

Repository files navigation

Next.js Prisma PostgreSQL Auth Starter

This is a Next.js starter kit that uses Next-Auth for simple email + password login
Prisma as the ORM, and a docker based Postgres database to persist the data.

Contributions and suggestions are welcome.


Developing Locally

# Clone this repo then
npm install
# or
yarn install

Getting Started

First start docker compose. You would need to have docker installed on your local pc.

docker compose up -d
# or
docker-compose up -d
# this depends on your version of docker and docker compose

-- Copy and paste .env.example to .env

Second, run the development server:

# Run 
npx prisma db push
# then
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:

About

Originally cloned from Vercel's starter template, but they decided to switch to drizzle as ORM. We prefer using prisma and thought of making this available to all who would like to use this.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published