Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 1 Jahr •via X (Twitter)

9 Kommentare

Profilbild von Lee Robinson
Lee Robinsonvor 1 Jahr

Story points to complete this: 6 newborn nap times 🤣

Profilbild von Guillermo Rauch
Guillermo Rauchvor 1 Jahr

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

Profilbild von MJ
MJvor 1 Jahr

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

Profilbild von Lee Robinson
Lee Robinsonvor 1 Jahr

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

Profilbild von Nico - 📖 Pull Request Best Practices
Nico - 📖 Pull Request Best Practicesvor 1 Jahr

@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?

Profilbild von Lee Robinson
Lee Robinsonvor 1 Jahr

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

Profilbild von Lee Robinson
Lee Robinsonvor 1 Jahr

@yeg_jennifer @nextjs You can create custom themes!

Profilbild von DevNotes_Journal
DevNotes_Journalvor 1 Jahr

@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.

Profilbild von ND 🎯
ND 🎯vor 1 Jahr

@nextjs RIP to all sass template inde hackers!!

Ähnliche Videos