Loading video player...
Hostinger Link: https://hostinger.com/DIPESH Coupon Code: DIPESH Hostinger Link: https://hostinger.com/DIPESH Clerk Auth - https://go.clerk.com/DZ18qQ5 Github - https://github.com/dmalvia/multi-tenant-ai-document-analysis-platform.git "How do you build one app that serves multiple organisations, each with their own users, documents, and permissions?" That's exactly what we're building — a production-ready, multi-tenant AI document analyser where multiple organisations can securely upload documents and get instant insights powered by Google's Gemini AI." "Each organization — whether it's Engineering, HR, or Sales — gets their own isolated workspace with their own team members, documents, and AI analysis. Here's our powerful tech stack: 🔥 Multi-Tenant Architecture - for Isolated data per organization 🚀 Next.js 16 - App router with server components & layouts 📘 PostgreSQL + Prisma - Type-safe database with multi-tenant schema 🎨 Clerk - Enterprise-grade authentication & organization management 🤖 Google Gemini AI - for Document summarisation, sentiment analysis & entity extraction 🎭 shadcn/ui + Tailwind - Beautiful, accessible components 📦 Vercel Blob - Secure document storage 🌍 Hostinger VPS - Production deployment 🎯 What You'll Learn: 1️⃣ Implement true multi-tenant architecture with PostgreSQL row-level isolation 2️⃣ Integrate Clerk organizations for team management and permissions 3️⃣ Connect Google Gemini AI for real document analysis 4️⃣ Build beautiful UIs with shadcn/ui components 5️⃣ Handle file uploads securely with Vercel Blob 6️⃣ Deploy to production on Hostinger VPS 7️⃣ Scale your app to handle multiple organisations efficiently 🔥 Video contents... ENJOY 👇 0:00:00 - Introduction & Demo 0:03:04 - Project Overview 0:07:08 - Project Setup & Dependencies 0:10:53 - Prisma & Postgres Database Setup 0:25:34 - Google Gemini AI Setup 0:30:50 - Vercel Blob Storage Setup 0:38:27 - Clerk Setup 0:42:26 - Main Layout 0:47:44 - Navbar & Footer Component 0:59:35 - Implement Home Page 01:08:50 - Clerk Custom SignIn & SignOut Page 01:12:35 Sync Clerk User to Postgres DB Utility 01:20:03 - API Routes Structure 1:21:50 - Create Organization API 1:29:30 - Analyze Document API 1:37:53 - Document API (Create, Read & Delete) 02:02:08 - Pages Structure & Navbar Changes 02:07:55 - Dashboard Layout 02:09:45 - Implement Select Organization Page 02:41:45 - Implement Organization Layout & Dashboard 03:00:53 - Implement Organization Document Page 03:17:50 - Implement Document Upload Feature 03:38:35 - Fetch Documents & Implement Document Analyze Feature 04:01:51 - App Testing on Local 04:06:23 - App Deployment on Hostinger VPS & Testing 04:18:26 - Outro Node.js: The Complete Guide to Build Backend Projects🔥 Link - https://www.dipeshmalvia.com/courses/Nodejs-Zero-to-Hero ⭐️ Node.js for beginners Playlist ⭐️ https://youtube.com/playlist?list=PLTP3E5bPW796_icZanMqhdg7i0Cl7Y51F ⭐️ Crash Courses ⭐️ 🔗 Next.js 15 Crash Course - https://youtu.be/LOmjWb9JfOI 🔗 Nodejs Crash Course - https://youtu.be/H9M02of22z4 🔗 React Crash Course - https://youtu.be/0riHps91AzE 🔗 JavaScript Crash Course - https://youtu.be/sptS-bgg8Ro 🔗 HTML5 Crash Course in 1 Hour - https://youtu.be/Aj3QFsmsagc 🔗 CSS Crash Course in 1 Hour - https://youtu.be/nYsk_U_A_lc 🔗 Social Medias 🔗 Twitter: https://twitter.com/IMDmalvia Facebook: https://www.facebook.com/programmingwithdipesh Instagram: https://www.instagram.com/dipeshmalvia LinkedIn: https://www.linkedin.com/in/dmalvia/ ⭐️ Tags ⭐️ - Full Stack Next.js 15 Tutorial: Multi-Tenant App with Clerk & Prisma - Next.js 15 Multi-Tenant App for Beginners - Clerk, Prisma, PostgreSQL, Hostinger - How to Build a Multi-Tenant SaaS with Next.js 15, Clerk & Gemini AI - Next.js 15 + Clerk + Prisma + Gemini AI - Build a Multi-Tenant SaaS ⭐️ Hashtags ⭐️ #nextjs #clerk #beginner #tutorial Disclaimer: It doesn't feel good to have a disclaimer in every video but this is how the world is right now. All videos are for educational purpose and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.