Hire Me
← Back to projects

Clinic CRM

2026

A fullstack clinic management system for doctors and administrators. JWT in httpOnly cookies, bcrypt password hashing, role-based access (ADMIN / DOCTOR). Server Components read from PostgreSQL through Prisma 7 with @prisma/adapter-pg. Server Actions handle all mutations with defense in depth: authorization, ownership, Zod validation, existence checks, try/catch, revalidatePath. Optimistic UI with React 19 useOptimistic for appointment deletion.

Next.jsReactTypeScriptPostgreSQLPrismaServer Actions