Next.js + Tailwind + Typescript + Drizzle + NextAuth + PostgreSQL starter template.
by vercelLast 12 weeks · 0 commits
1 of 6 standards met
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.
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
Repository: vercel/nextjs-postgres-auth-starter. Description: Next.js + Tailwind + Typescript + Drizzle + NextAuth + PostgreSQL starter template. Stars: 1026, Forks: 223. 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: 1y ago. Community health: 37%. Top contributors: steven-tey, leerob, balazsorban44, entity, erasta, hjaber.
TypeScript
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.