Refactor API routes and enhance documentation; add collaboration features and user role management. Update environment example and improve error handling in authentication.

This commit is contained in:
2025-07-18 16:34:25 -04:00
parent 2dcd2a2832
commit 28ac7dd9e0
23 changed files with 7439 additions and 157 deletions

View File

@@ -30,7 +30,7 @@ export default async function Home() {
{session?.user ? (
<div className="flex items-center gap-4">
<span className="text-sm text-slate-600">
Welcome, {session.user.name || session.user.email}
Welcome, {session.user.name ?? session.user.email}
</span>
<Button asChild variant="outline">
<Link href="/api/auth/signout">Sign Out</Link>