web:api:prisma-fastify:p2

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
web:api:prisma-fastify:p2 [2026/03/04 02:02] – créée jcheronweb:api:prisma-fastify:p2 [2026/03/11 08:05] (Version actuelle) jcheron
Ligne 97: Ligne 97:
 ==== 6. Protection de route ==== ==== 6. Protection de route ====
  
-<code ts>+<sxh ts>
 app.get("/posts", { app.get("/posts", {
   preHandler: [app.authenticate]   preHandler: [app.authenticate]
 }, handler) }, handler)
-</code>+</sxh> 
 + 
 +<button type="primary" size="sm">[[web:api:prisma-fastify:p2-b|Suite >>]]</button>
  • web/api/prisma-fastify/p2.1772586176.txt.gz
  • Dernière modification : il y a 8 semaines
  • de jcheron