GitShow/vercel/nextjs-postgres-auth-starter
vercel

nextjs-postgres-auth-starter

Next.js + Tailwind + Typescript + Drizzle + NextAuth + PostgreSQL starter template.

by vercel
mysqlnext-authnextauthjsnextjstailwindcsstypescript
Star on GitHubForkWebsitenpm

TypeScript

1.1k stars226 forks6 contributorsQuiet · 2y agoSince 2022

Meet the team

See all 6 on GitHub →
steven-tey
steven-tey76 contributions
leerob
leerob7 contributions
balazsorban44
balazsorban441 contribution
entity
entity1 contribution
erasta
erasta1 contribution
hjaber
hjaber1 contribution

Languages

View on GitHub →
TypeScript99%
JavaScript0.6%
CSS0.4%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

1 of 6 standards met

Community profile →
37
✓README○License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 2y ago
See all on GitHub →
kxyne
Add drizzle-kit configurationOpenPR

This PR splits out the schema into a schema file, adds a dev dependency on drizzle-kit, and adds a configuration file to allow drizzle-kit to apply the schema changes. The README is also adjusted accordingly. I removed the sslmode=require that was in the client connection string as its the default I believe and also breaks connections if you provided any options yourself. It all works correctly in my environment but I haven't tried it against other versions or bumped any dependencies.

kxyne · 4mo ago

Recent fixes

View closed PRs →
princechavez
Added POST routeMergedPR

PR: Add endpoint (initial implementation) This PR adds a new API route at to support basic post creation. The endpoint accepts requests with , , , and optional . Summary New route handler with and methods. Simulates label processing by calling an external service (placeholder endpoint). Returns a generated ID and echoes back the post content. Simple logging added for debug purposes. Testing Instructions

princechavez · 9mo ago
Fr3akyMurk
Issues utilizing "Use Client" "useEffect" etc.ClosedIssue

Hello, I am currently facing an issue with migration, i made a small app to act as a suggestion, tip or feature "jar" but just now wanted to add auth, however my app utilizes "use client" "useState" and "useEffect" however each time i use any of these, i immediately get errors from postgressql (is what i assume) but the actual error points to FS for some reason. This only happens on pages that are actively being "protected" how do i avoid encountering this issue whilst still maintaining the features of my application? Old issue, found out like a few days after I openrd this issue.

Fr3akyMurk · 1y ago
ohdaveed
gNewMergedPR
ohdaveed · 1y ago
Structured data for AI agents

Repository: vercel/nextjs-postgres-auth-starter. Description: Next.js + Tailwind + Typescript + Drizzle + NextAuth + PostgreSQL starter template. Stars: 1052, Forks: 226. Primary language: TypeScript. Languages: TypeScript (99%), JavaScript (0.6%), CSS (0.4%). Homepage: https://nextjs-postgres-auth.vercel.app Topics: mysql, next-auth, nextauthjs, nextjs, tailwindcss, typescript. Open PRs: 1, open issues: 0. Last activity: 2y ago. Community health: 37%. Top contributors: steven-tey, leerob, balazsorban44, entity, erasta, hjaber.

·@ofershap

Replace github.com with gitshow.dev