Nextjs Framework Index Guide -
💧 atoms✍🏽 sessions🌱 plans🚩 Projects📜 Folio💛 mlv👾ia🪓📍 Dev🥷🏽 About🂱 NextJS㈻ Docs👷🏼‍♂️ build
Cards
Card · LegendCard · Server PageCard · Client ComponentCard · Entity ActionsCard · Server ActionsCard · Context ProviderCard · API RouteCard · Types & PrismaCard · Entity-FirstCard · DeploymentCard · Next 16 + Prisma 7Card · CSS & TailwindCard · Libraries & AcceleratorsCard · Prisma 7 (Next App Router)Card · TypeORMCard · Drizzle
Tip: follow the colour thread (🔴🟢🔵🟠🟣🟡⚫) to track roles across every file.
Prisma to TypeORM
Welcome
Molino ⺢ · Skills⺢ · Practice⺢ · Experience⺢ · Brand⺢ · Market⺢ · Tools⺢ · Story
🛬🚩TourismSkillsPracticeExperience • • ⺢
→ chapters/03-entity-actions

Card · Entity Actions

Single source of truth; Prisma lives only here.

Rules

  • Validate + authorize at the boundary.
  • Expose get*/mutations; no JSX or UI imports.
  • Called by server pages (reads) and server actions (writes).

Guarded Read

export async function getProjectById(id: string) {
return prisma.project.findUnique({ where: { id } });
}

Study Card · Chapter 03-entity-actions