Commit graph

11 commits

Author SHA1 Message Date
2410d72cee
Rename patterns/middleware.md to docs/patterns/middleware.md 2026-04-24 22:18:53 +02:00
9a3b6034a3
Rename patterns/iron-session.md to docs/patterns/iron-session.md 2026-04-24 22:17:25 +02:00
895930a744
Implement middleware for route protection
Add middleware for route protection based on user session.
2026-04-24 22:12:40 +02:00
1d33b1f7dc
Add documentation for float sort_order pattern
Document the float sort_order pattern with TypeScript examples for calculating sort order and reindexing when precision is low.
2026-04-24 22:11:54 +02:00
963265eb8d
Add Zustand optimistic update pattern documentation
Document the Zustand optimistic update pattern with rollback for drag-and-drop functionality.
2026-04-24 22:11:11 +02:00
81053d0414
Add route handler documentation for REST API
Document the route handler for the REST API, including authentication and endpoint details.
2026-04-24 22:10:29 +02:00
82879eb119
Document Prisma Client singleton pattern
Added documentation for Prisma Client singleton pattern and configuration.
2026-04-24 22:08:59 +02:00
fd72fd85f8
Document iron-session pattern and usage
Add documentation for iron-session pattern including session options and usage in server actions.
2026-04-24 22:08:27 +02:00
08e0dd22f0
Add server action pattern documentation 2026-04-24 22:07:45 +02:00
e9076d274e
Add Prisma client initialization in markdown file 2026-04-24 22:05:51 +02:00
4908d91e2a
Add iron-session configuration and types 2026-04-24 22:04:24 +02:00