Loading video...

Video Failed to Load

Go Home

Just shipped a new Next.js template! • Uses Postgres and Drizzle for the database • UI components with Tailwind and shadcn/ui • Email/password authentication with JWTs stored to cookies • Dashboard pages with CRUD operations on users/teams • Basic RBAC with Owner and Member roles • Pricing page (/)...

362,516 views • 1 year ago •via X (Twitter)

9 Comments

Lee Robinson's profile picture
Lee Robinson1 year ago

Story points to complete this: 6 newborn nap times 🤣

Guillermo Rauch's profile picture
Guillermo Rauch1 year ago

@nextjs Love the distinction between global / local middleware. You need to run code before the page cache (edge) and after the cache (region)

MJ's profile picture
MJ1 year ago

@nextjs Congratz! If you need a bit more @achromaticlabs !

Lee Robinson's profile picture
Lee Robinson1 year ago

@nextjs @achromaticlabs I linked to it in the README 😁 Great work!

Nico - 📖 Pull Request Best Practices's profile picture
Nico - 📖 Pull Request Best Practices1 year ago

@nextjs i have a question. why don't the matcher in middleware simply be /dashboard/:path* ? looking at the middleware func, i think it's only there to handle requests to protected routes 🤔 it doesn't need to run for other routes, does it?

Lee Robinson's profile picture
Lee Robinson1 year ago

@nextjs Good question – it also refreshes the session cookie (on all routes).

Lee Robinson's profile picture
Lee Robinson1 year ago

@yeg_jennifer @nextjs You can create custom themes!

DevNotes_Journal's profile picture
DevNotes_Journal1 year ago

@nextjs Awesome work! Love the stack with Next.js, Drizzle, and Tailwind. The RBAC and activity logging system are a great touch for scaling apps. Excited to check out the demo and dive into the code. Looking forward to seeing how you evolve this.

ND 🎯's profile picture
ND 🎯1 year ago

@nextjs RIP to all sass template inde hackers!!

Related Videos