正在加载视频...

视频加载失败

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 次观看 • 1 年前 •via X (Twitter)

9 条评论

Lee Robinson 的头像
Lee Robinson1 年前

Story points to complete this: 6 newborn nap times 🤣

Guillermo Rauch 的头像
Guillermo Rauch1 年前

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

MJ 的头像
MJ1 年前

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

Lee Robinson 的头像
Lee Robinson1 年前

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

Nico - 📖 Pull Request Best Practices 的头像
Nico - 📖 Pull Request Best Practices1 年前

@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 的头像
Lee Robinson1 年前

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

Lee Robinson 的头像
Lee Robinson1 年前

@yeg_jennifer @nextjs You can create custom themes!

DevNotes_Journal 的头像
DevNotes_Journal1 年前

@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 🎯 的头像
ND 🎯1 年前

@nextjs RIP to all sass template inde hackers!!

相关视频