Answer to the question "Can Layouts be Client Components in Next.js?". In short, yes.
Guide to setup n8n with postgres locally (self-host) and securely.