The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
add customers filters (#31109)
Francesco Sansalvadore5b142b8f30b2
diff --git a/apps/www/_customers/berriai.mdx b/apps/www/_customers/berriai.mdxindex b2efa159848..728df55c734 100644--- a/apps/www/_customers/berriai.mdx+++ b/apps/www/_customers/berriai.mdx@@ -25,6 +25,14 @@ stats:]misc: [{ label: 'Backed by', text: 'Y Combinator' }]about: Supercharge your products with the power of LLMs like ChatGPT & go from prototype to production in less than a week.+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['ai', 'developer-tools', 'saas']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'North America'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth', 'vector']---Berri AI is an API for businesses to programmatically create custom ChatGPT instances on their data. Their customers build production-ready ChatGPT Apps in minutes with features such as prebuilt flows, editable options, authentication, and logging.diff --git a/apps/www/_customers/chatbase.mdx b/apps/www/_customers/chatbase.mdxindex c9a01be5d2e..82cb206b451 100644--- a/apps/www/_customers/chatbase.mdx+++ b/apps/www/_customers/chatbase.mdx@@ -27,9 +27,17 @@ misc:},]about: 'Chatbase is an AI chatbot builder. It trains ChatGPT on your data and lets you add a chat widget to your website. Just upload a document or add a link to your website and get a chatbot that can answer any question about their content.'+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['ai', 'saas', 'developer-tools']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'North America'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth', 'storage', 'realtime']----After getting a new grad offer from his “dream company” rescinded with tech layoffs, Yasser Elsaid decided to embark on a different path and bootstrap his own venture.+After getting a new grad offer from his "dream company" rescinded with tech layoffs, Yasser Elsaid decided to embark on a different path and bootstrap his own venture.Two months before the release of the ChatGPT API, Yasser explored the GPT3 API and saw its immense potential. Leveraging Supabase as the backend, he built Chatbase in two weeks and launched it in February.@@ -37,9 +45,9 @@ Just five months after launching, Chatbase reach $1,000,000 annualized revenue,## The Challenge-Fascinated by the possibilities of GPT3, Yasser envisioned Chatbase as an AI-driven chatbot capable of handling complex customer queries in real time. However, building a cost-effective and reliable solution to ingest and store data and manage large-scale customer interactions by himself wasn’t trivial.+Fascinated by the possibilities of GPT3, Yasser envisioned Chatbase as an AI-driven chatbot capable of handling complex customer queries in real time. However, building a cost-effective and reliable solution to ingest and store data and manage large-scale customer interactions by himself wasn't trivial.-Yasser faced another challenge: he needed to rapidly transform his idea into an actual product to maintain a competitive edge, but he didn’t have a team or funding.+Yasser faced another challenge: he needed to rapidly transform his idea into an actual product to maintain a competitive edge, but he didn't have a team or funding.## Choosing Supabase@@ -51,7 +59,7 @@ With Supabase, everything seamlessly came together and he was able to go from id<Quote img="yasser-elsaid-chatbase.jpeg" caption="Yasser Elsaid, Founder of Chatbase."><p>- Supabase is great because it has everything. I don’t need a different solution for+ Supabase is great because it has everything. I don't need a different solution forauthentication, a different solution for database, or a different solution for storage.</p></Quote>diff --git a/apps/www/_customers/e2b.mdx b/apps/www/_customers/e2b.mdxindex cc32d106ea5..fb631cf159a 100644--- a/apps/www/_customers/e2b.mdx+++ b/apps/www/_customers/e2b.mdx@@ -24,6 +24,14 @@ misc:{ label: 'Solutions', text: 'Supabase Auth, Supabase Database' },]about: An open-source platform that enables developers to run untrusted AI-generated code in the cloud safely and efficiently.+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['ai', 'developer-tools', 'saas']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'North America'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth', 'realtime', 'functions']---<Quote img="vasek-mlejnsky.jpg" caption="Vasek Mlejnsky, CEO, E2B">diff --git a/apps/www/_customers/epsilon3.mdx b/apps/www/_customers/epsilon3.mdxindex 88fa0008b8c..72d75b7c6b6 100644--- a/apps/www/_customers/epsilon3.mdx+++ b/apps/www/_customers/epsilon3.mdx@@ -24,7 +24,15 @@ stats:{ stat: '00,000', label: Example stat },]misc: [{ label: 'Founded', text: Los Angeles, California }]-about: Epsilon3 is the OS for spacecraft and complex operations. Epsilon3’s software platform manages complex operational procedures, saving operators time and reducing errors.+about: Epsilon3 is the OS for spacecraft and complex operations. Epsilon3's software platform manages complex operational procedures, saving operators time and reducing errors.+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['saas', 'developer-tools']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'North America'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'realtime', 'auth']---Epsilon3 is a USA-based Y Combinator startup. They digitize paper-based procedures in the space industry using telemetry data,@@ -63,7 +71,7 @@ country. These customer requirements mean Epsilon3 must be able to offer flexibl><p>Billion dollar missions need to run reliably and securely.</p><p>- We didn’t just want something that works, we wanted a solution implementing best practices. We+ We didn't just want something that works, we wanted a solution implementing best practices. Wealso needed a setup that we could self-host to meet compliance needs and allow on-premisesdeployment options for our customers.</p>diff --git a/apps/www/_customers/good-tape.mdx b/apps/www/_customers/good-tape.mdxindex 089601da6e0..7e36a98343e 100644--- a/apps/www/_customers/good-tape.mdx+++ b/apps/www/_customers/good-tape.mdx@@ -24,9 +24,17 @@ misc:{ label: 'Solutions', text: 'Database, Auth, Realtime, Edge Functions' },]about: 'Good Tape is a secure transcription service that makes it easy for journalists and other professionals to turn audio recordings into text, regardless of sound quality and language.'+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['media', 'ai', 'saas']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'Europe'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth', 'realtime', 'functions']----Good Tape started as a hackathon project by Jakob Steinn. The initial idea was to help journalists at Zetland, the news agency where he worked, transcribe their stories from audio to text. In the past, they had done this by hand since existing tools didn't support smaller language areas like Danish. With the help from his colleagues at Zetland, the prototype went from proof of concept on Google Colab, to proper web service leveraging OpenAI’s Whisper arriving at the foundation that today is Good Tape.+Good Tape started as a hackathon project by Jakob Steinn. The initial idea was to help journalists at Zetland, the news agency where he worked, transcribe their stories from audio to text. In the past, they had done this by hand since existing tools didn't support smaller language areas like Danish. With the help from his colleagues at Zetland, the prototype went from proof of concept on Google Colab, to proper web service leveraging OpenAI's Whisper arriving at the foundation that today is Good Tape.That was one year ago. The initial hackathon product transformed into Good Tape, which allows users to upload their audio files and instantly get them transcribed by AI.@@ -36,9 +44,9 @@ That was one year ago. The initial hackathon product transformed into Good Tape,Good Tape recently crossed the €1M ARR threshold and is growing +25% MoM. Built with security and privacy in mind, Good Tape has customers in more than 130 countries and has helped journalists in countries like Taiwan, Denmark, and The Netherlands - doing roughly 75,000 transcriptions per week in 98 different languages. The product saves them hours upon hours of manual transcription work and allows for new use cases like categorization and classification of previously inaccessible data. But this hyper-growth also came with its own challenges.-One such challenge was authentication. Good Tape started off with Auth0. When they scaled beyond hobbyist levels, the cost to support auth exploded. From Steinn, “their pricing is absolutely wild.”+One such challenge was authentication. Good Tape started off with Auth0. When they scaled beyond hobbyist levels, the cost to support auth exploded. From Steinn, "their pricing is absolutely wild."-More importantly, since Steinn was the only full-time developer, Good Tape needed a database solution that didn't put the burden of database debugging and support on their small team. At first, they went with a Postgres database on Fly, which was “not a managed solution but gave all the tools to feel like it was managed.” But as they scaled, they started noticing limitations with reliability and performance.+More importantly, since Steinn was the only full-time developer, Good Tape needed a database solution that didn't put the burden of database debugging and support on their small team. At first, they went with a Postgres database on Fly, which was "not a managed solution but gave all the tools to feel like it was managed." But as they scaled, they started noticing limitations with reliability and performance.The critical moment for Good Tape came when their primary database went down, and in an event caused by internal network issues, one of their read replicas was promoted to be primary, leaving them with two active leaders. That caused the cluster to go into an irreparable state, from which they could not boot up again.@@ -53,9 +61,9 @@ That prompted Steinn to look for a new solution that would allow them to build wFor the database migration, Kevin Brolly, Head of Customer Success, provided invaluable assistance. Additionally, for the authentication migration, Kevin Grüneberg, Billing Lead, provided guidance [based on his own experience](https://kevcodez.medium.com/migrating-125-000-users-from-auth0-to-supabase-81c0568de307). Both migrations proceeded exceptionally smoothly.-Post migration, Steinn appreciated the communication and safety that Supabase offered. Complex database issues that had previously taken them long engineering hours to identify, plan, and fix were now managed and handled by Supabase. One of which is automatically adding more disk space before it’s too late. This allows Steinn and the Good Tape team to focus on their core product.+Post migration, Steinn appreciated the communication and safety that Supabase offered. Complex database issues that had previously taken them long engineering hours to identify, plan, and fix were now managed and handled by Supabase. One of which is automatically adding more disk space before it's too late. This allows Steinn and the Good Tape team to focus on their core product.-Further, while implementing Supabase, he was impressed with “the sheer amount of educational content and incredible documentation. It was amazing. So really, really, really great.” Beyond just the developer resources, once finished with the migration, Steinn ran a small POC with [Supabase Auth](https://supabase.com/docs/guides/auth). It was then that he found that Supabase could solve their authentication cost issues and also add extra benefits that were impossible if he was working with multiple vendors“. The main thing was having our authentication together with our database and seeing the benefits of having those two in the same place. One example is [row-level security](https://supabase.com/docs/guides/auth/row-level-security)… that just sells me immediately.”+Further, while implementing Supabase, he was impressed with "the sheer amount of educational content and incredible documentation. It was amazing. So really, really, really great." Beyond just the developer resources, once finished with the migration, Steinn ran a small POC with [Supabase Auth](https://supabase.com/docs/guides/auth). It was then that he found that Supabase could solve their authentication cost issues and also add extra benefits that were impossible if he was working with multiple vendors". The main thing was having our authentication together with our database and seeing the benefits of having those two in the same place. One example is [row-level security](https://supabase.com/docs/guides/auth/row-level-security)… that just sells me immediately."<Quote img="jakob-steinn-goodtape.jpeg" caption="Jakob Steinn - Lead Developer at Good Tape">My biggest regret is not having gone with Supabase from the beginning.@@ -71,11 +79,11 @@ That includes initiatives like the Good Tape archive, where users can upload anyIn terms of costs, Good Tape has seen a remarkable reduction in backend expenses. Before migrating to Supabase's comprehensive backend solution, they were paying nearly $1,500 per month for authentication through Auth0, and their database-related expenses exceeded $2,600 per month with Fly. With the transition to Supabase, they not only lowered their total costs to $1,600, resulting in a 60% reduction in expenses, but they also saved valuable engineering time that allowed them to focus on their core product.-The best part for Steinn has been the peace of mind with Supabase's managed services. Where in the past, his vacations had always been interrupted - “Every time I was in an airport, our database would go down”. With Supabase now managing the database, Steinn can visit friends and family in Iceland without any concerns.+The best part for Steinn has been the peace of mind with Supabase's managed services. Where in the past, his vacations had always been interrupted - "Every time I was in an airport, our database would go down". With Supabase now managing the database, Steinn can visit friends and family in Iceland without any concerns.<Quote img="jakob-steinn-goodtape.jpeg" caption="Jakob Steinn - Lead Developer at Good Tape">Moving to Supabase has saved the company. We wouldn't have worked if we hadn't made the right[backend] decision… So Supabase helped us stay in production and not become an internal tool.</Quote>-> To learn more about how Supabase can help you manage and scale your database, **[reach out to us](https://forms.supabase.com/enterprise)**.+> To learn more about how Supabase can help you manage and scale your database, **[reach out to us](https://forms.supabase.com/enterprise)**.diff --git a/apps/www/_customers/happyteams.mdx b/apps/www/_customers/happyteams.mdxindex d97f2e320d4..f7452d92fa3 100644--- a/apps/www/_customers/happyteams.mdx+++ b/apps/www/_customers/happyteams.mdx@@ -25,6 +25,14 @@ stats:]misc: [{ label: 'Founded', text: 'Dublin, Ireland' }]about: HappyTeams is a purpose-built solution that empowers management to unlock valuable team insights.+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['saas', 'analytics']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'Europe'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth']---## The Challengediff --git a/apps/www/_customers/humata.mdx b/apps/www/_customers/humata.mdxindex c32145731e2..39ec69200a1 100644--- a/apps/www/_customers/humata.mdx+++ b/apps/www/_customers/humata.mdx@@ -27,31 +27,39 @@ misc:},]about: Use AI to ask questions across all of your files.+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['ai', 'saas', 'analytics']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'North America'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth', 'realtime', 'vector']---## Introduction-Humata, a platform enabling millions of users to chat with and analyse their all documents, relies on cutting-edge technology to support rapid growth and high user demand. Humata started as PDF AI that allows anyone to chat with their files, initially geared for scientific researchers. Humata has now expanded to serve major enterprises and government institutions by connecting their knowledge base to AI and allowing them to get answers they can trust with best-in-class referencing. With a tech stack that includes Supabase, GCP, OpenAI, Vercel, and NEXT.js, Humata’s platform provides real-time, mission-critical analysis for researchers, enterprises, and government institutions. By partnering with Supabase, Humata achieved a 4X reduction in vector database costs, streamlined their development, and consolidated their data so they could scale seamlessly.+Humata, a platform enabling millions of users to chat with and analyse their all documents, relies on cutting-edge technology to support rapid growth and high user demand. Humata started as PDF AI that allows anyone to chat with their files, initially geared for scientific researchers. Humata has now expanded to serve major enterprises and government institutions by connecting their knowledge base to AI and allowing them to get answers they can trust with best-in-class referencing. With a tech stack that includes Supabase, GCP, OpenAI, Vercel, and NEXT.js, Humata's platform provides real-time, mission-critical analysis for researchers, enterprises, and government institutions. By partnering with Supabase, Humata achieved a 4X reduction in vector database costs, streamlined their development, and consolidated their data so they could scale seamlessly.## The Challenge-As Humata's user base expanded, the need for scalable, reliable, and cost-effective infrastructure became critical. Initially, Humata used Pinecone for its vector database workloads for chat with doc solution, but managing this infrastructure became complex and expensive, with 20 s2.x8 pods and additional replicas required for latency. Humata needed a solution that would simplify infrastructure management, reduce costs, and enhance the platform’s feature velocity without sacrificing performance.+As Humata's user base expanded, the need for scalable, reliable, and cost-effective infrastructure became critical. Initially, Humata used Pinecone for its vector database workloads for chat with doc solution, but managing this infrastructure became complex and expensive, with 20 s2.x8 pods and additional replicas required for latency. Humata needed a solution that would simplify infrastructure management, reduce costs, and enhance the platform's feature velocity without sacrificing performance.## The Supabase Solution-Humata chose Supabase for its Postgres database, authentication, and real-time functionality. Supabase’s open-source community and world-class support made it the perfect choice to meet Humata's growing needs. The flexibility of Supabase allowed Humata to consolidate all their data—including semantic searches and business data—into a single database, significantly improving query complexity and feature velocity. Backed by Supabase’s Enterprise plan, Humata gained access to deep technical specialists to optimise the back-end performance ongoing, and leverages this pool of experts to de-risk their critical data infrastructure operations.+Humata chose Supabase for its Postgres database, authentication, and real-time functionality. Supabase's open-source community and world-class support made it the perfect choice to meet Humata's growing needs. The flexibility of Supabase allowed Humata to consolidate all their data—including semantic searches and business data—into a single database, significantly improving query complexity and feature velocity. Backed by Supabase's Enterprise plan, Humata gained access to deep technical specialists to optimise the back-end performance ongoing, and leverages this pool of experts to de-risk their critical data infrastructure operations.## Migration from Pinecone to Supabase-The migration from Pinecone to Supabase was a game-changer for Humata’s chat with PDF technology. By switching to a single 16XL instance of Supabase’s pgVector, Humata achieved a staggering 4X cost reduction. This transition also simplified infrastructure management, eliminated the need for multiple replicas, and boosted feature velocity by enabling complex queries that combine semantic search with business data.+The migration from Pinecone to Supabase was a game-changer for Humata's chat with PDF technology. By switching to a single 16XL instance of Supabase's pgVector, Humata achieved a staggering 4X cost reduction. This transition also simplified infrastructure management, eliminated the need for multiple replicas, and boosted feature velocity by enabling complex queries that combine semantic search with business data.## Key Benefits of Using Supabase- **Cost Efficiency**: The move from Pinecone to Supabase resulted in a 75% reduction in database costs, allowing Humata to reallocate resources to further innovation.-- **Scalability**: Supabase’s infrastructure scaled effortlessly, supporting Humata’s growth to millions of users worldwide.-- **Developer Speed**: Supabase’s ease of use and built-in features, such as row-level security and the frontend client, enabled faster development and more efficient workflows.-- **Seamless Real-Time Collaboration**: Supabase’s Real Time feature enhanced collaboration, allowing users to see document changes and updates instantly.-- **Security & Compliance**: With Supabase’s SOC 2 Type II and HIPAA-compliant infrastructure, Humata ensures the highest levels of security, protecting sensitive data as they approach HIPAA certification.+- **Scalability**: Supabase's infrastructure scaled effortlessly, supporting Humata's growth to millions of users worldwide.+- **Developer Speed**: Supabase's ease of use and built-in features, such as row-level security and the frontend client, enabled faster development and more efficient workflows.+- **Seamless Real-Time Collaboration**: Supabase's Real Time feature enhanced collaboration, allowing users to see document changes and updates instantly.+- **Security & Compliance**: With Supabase's SOC 2 Type II and HIPAA-compliant infrastructure, Humata ensures the highest levels of security, protecting sensitive data as they approach HIPAA certification.## Conclusiondiff --git a/apps/www/_customers/maergo.mdx b/apps/www/_customers/maergo.mdxindex de8e263f4ca..2be77b447c4 100644--- a/apps/www/_customers/maergo.mdx+++ b/apps/www/_customers/maergo.mdx@@ -18,6 +18,14 @@ stats: []misc:[{ label: 'Use case', text: 'Logistics, SaaS' }, { label: 'Solutions', text: 'Database, Auth' }]about: 'Maergo, a nationwide expedited parcel delivery service, chose Supabase to overcome its technology challenges. With Supabase, Maergo was able to reduce its codebase by 90%, decrease deployment times from 12-15 minutes to just seconds, and achieve unprecedented scalability during peak season. Discover how Supabase helped Maergo achieve faster time-to-market, improved performance, and significant cost savings.'+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['ecommerce', 'saas']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'North America'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth']---## Introduction@@ -41,7 +49,7 @@ Maergo chose Supabase due to its lightweight and scalable architecture, which adMaergo's successful migration to Supabase enabled them to reduce costs, increase scalability, and improve deployment times. The company can now focus on building innovative solutions for its customers while leveraging Supabase's robust features and cost-effective model.**Reduced codebase**\-Maergo’s codebase went from 730k lines of code to 95k lines of code, while preserving all API components of the previous system and even introducing new functionality with the help of Supabase.+Maergo's codebase went from 730k lines of code to 95k lines of code, while preserving all API components of the previous system and even introducing new functionality with the help of Supabase.**Much faster deployment speed**\Deployment times decreased from 12-15 minutes to a few seconds.@@ -55,4 +63,4 @@ Supabase's cost model was more appealing, allowing Maergo to scrap their previou**Increased availability**\Maergo finished their platform migration before peak season, achieving the highest availability in company history.-> To learn more about how Supabase can help you manage and scale your database, **[reach out to us](https://forms.supabase.com/enterprise)**.+> To learn more about how Supabase can help you manage and scale your database, **[reach out to us](https://forms.supabase.com/enterprise)**.diff --git a/apps/www/_customers/markprompt.mdx b/apps/www/_customers/markprompt.mdxindex 9e988b9b861..7e440e1215b 100644--- a/apps/www/_customers/markprompt.mdx+++ b/apps/www/_customers/markprompt.mdx@@ -22,12 +22,20 @@ stats:]misc: [{ label: 'Built by', text: 'The Motif Team' }]about: Enterprise-grade AI chatbots for your website and docs.+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['ai', 'saas', 'developer-tools']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'Europe'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth', 'vector']---Markprompt is an AI-powered chatbot platform that simplifies the process of finding relevant information in large-scale knowledge bases. With its chat-based interface, users can ask questions in natural language and receive instant, accurate answers. Markprompt's advanced analytics help teams identify knowledge gaps and improve their documentation strategies.<Quote img="michael-fester.jpeg" caption="Michael Fester - Co-Founder, Markprompt">- We’ve found that having access to the full features of Postgres, colocated with the embeddings,+ We've found that having access to the full features of Postgres, colocated with the embeddings,makes it the perfect vector database.</Quote>diff --git a/apps/www/_customers/mendableai.mdx b/apps/www/_customers/mendableai.mdxindex 7be8819dcdf..eaa1d4bf91d 100644--- a/apps/www/_customers/mendableai.mdx+++ b/apps/www/_customers/mendableai.mdx@@ -25,6 +25,14 @@ stats:]misc: [{ label: 'Backed by', text: 'Y Combinator' }]about: Mendable is Chat Powered Search for Documentation.+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['ai', 'saas', 'developer-tools']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'North America'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'vector']---[Mendable](http://mendable.ai/) provides a chat-powered search engine for technical documentation. Their AI-powered search tool makes it easier for developers and other technical users to find relevant information in complex documentation. Users can simply ask questions in natural language, and the tool returns the most relevant answers. Mendable's search engine also provides detailed analytics, which helps teams identify knowledge gaps and areas for improvement in their documentation. Mendable has integrated with some of the largest open source projects in the space such as LangChain and LlamaIndex.@@ -39,7 +47,7 @@ Mendable lear that Supabase supports [pgvector](https://supabase.com/docs/guides<Quote img="caleb-peffer.jpg" caption="Caleb Peffer - CEO, Mendable">We tried other vector databases - we tried Faiss, we tried Weaviate, we tried Pinecone. We found- them to be incredibly expensive and not very intuitive. If you’re just doing vector search they’re+ them to be incredibly expensive and not very intuitive. If you're just doing vector search they'regreat, but if you need to store a bunch of metadata that becomes a huge pain.</Quote>@@ -51,10 +59,10 @@ Using [Supabase Vector](https://supabase.com/vector), Mendable was able to build## The Results-Thanks to Supabase Vector, Mendable was able to significantly improve the efficiency and accuracy of their Chat Powered Search for Documentation. They were able to build faster and more cost-effectively using Supabase’s open source stack.+Thanks to Supabase Vector, Mendable was able to significantly improve the efficiency and accuracy of their Chat Powered Search for Documentation. They were able to build faster and more cost-effectively using Supabase's open source stack.<Quote img="caleb-peffer.jpg" caption="Caleb Peffer - CEO, Mendable">- We looked at the alternatives and chose Supabase because it’s open source, it’s simpler, and, for+ We looked at the alternatives and chose Supabase because it's open source, it's simpler, and, forall the ways we need to use it, Supabase has been just as performant - if not more performant -than the other vector databases.</Quote>diff --git a/apps/www/_customers/mobbin.mdx b/apps/www/_customers/mobbin.mdxindex bb15ee4f6da..935fa1c71d3 100644--- a/apps/www/_customers/mobbin.mdx+++ b/apps/www/_customers/mobbin.mdx@@ -25,6 +25,14 @@ stats:]misc: [{ label: 'Founded', text: Singapore }]about: Mobbin is a comprehensive, expert-curated library of interfaces from the best-in-class digital products that helps product designers find relevant design inspiration and references with significantly less time and effort.+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['saas', 'developer-tools']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'Asia'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth']---Mobbin helps over 200,000 creators globally search and view the latest design patterns from well-known apps.@@ -69,7 +77,7 @@ application sustainable for their business model.The team found Supabase and realized it covered all the bases. Not only that, their team had experience with thetools open source tools that Supabase is built with.-[Authentication](https://supabase.com/auth), built using [GoTrue](https://github.com/supabase/gotrue), instantly solved their users' login issues.+[Authentication](https://supabase.com/auth), built using [GoTrue](https://github.com/supabase/gotrue), instantly solved their users' login issues.Under the hood, Supabase is just Postgres, and Jian Jie (co-founder and CTO of Mobbin) knows this is one of the best battle-testedopen source relational databases.@@ -95,6 +103,6 @@ Because Supabase does not charge based on API requests, Mobbin significantly redMigrating to Supabase helped the team at Mobbin instantly improve the end-user experience and save costs.They now add new features with confidence, and they continue to help creators all over the globe find inspiration for their next project.-You can [check out Mobbin on their website](https://mobbin.design/browse/ios/apps).+You can [check out Mobbin on their website](https://mobbin.design/browse/ios/apps).[Sign up](https://supabase.com/dashboard/) for Supabase's Free Plan and set up a scalable backend in less than 2 minutes.diff --git a/apps/www/_customers/next-door-lending.mdx b/apps/www/_customers/next-door-lending.mdxindex 5621cfe36a1..a25deac6c26 100644--- a/apps/www/_customers/next-door-lending.mdx+++ b/apps/www/_customers/next-door-lending.mdx@@ -24,11 +24,19 @@ misc:{ label: 'Solutions', text: 'Supabase Database, Supabase Auth, Supabase Storage' },]about: "Next Door Lending, a National Mortgage Broker that's licensed in 25 states, needed a solution that could support secure data management, a frictionless user experience, and future AI products."+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['real-estate', 'fintech']+# "startup" | "enterprise" | "indie_dev"+company_size: 'enterprise'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'North America'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth', 'storage']---## Introduction-Next Door Lending (NDL) is a top 10 mortgage brokerage in the country. They've processed $2 billion dollars of loans in the past three years. They evaluate a borrower’s creditworthiness and ability to repay the loan. Then, they match each borrower with lenders that have the best loan terms. Currently, NDL is licensed and operates in 25 different states.+Next Door Lending (NDL) is a top 10 mortgage brokerage in the country. They've processed $2 billion dollars of loans in the past three years. They evaluate a borrower's creditworthiness and ability to repay the loan. Then, they match each borrower with lenders that have the best loan terms. Currently, NDL is licensed and operates in 25 different states.Partnering with over 50 lending companies, NDL offers hundreds of products for borrowers. These range from standard 30 Year Fixed Rate loans to mortgage refinances, to even USDA or Veteran loans. As a result, technology plays a critical role in NDL's daily operations and has been a differentiation vector against other mortgage brokers.@@ -36,12 +44,12 @@ Partnering with over 50 lending companies, NDL offers hundreds of products for b## The Challenge-- **Data ownership and management**: Not only is there regulation around financial data, one of NDL's core growth thesis is to leverage their data for future products. To do so, their internal teams needed a manageable data infrastructure. For Howard Haynes, CPO at NDL, “if we didn't have a way to manage data and access it, it would get very overwhelming.” Without the tools to support the growth in data, “this would become a major pain point.”+- **Data ownership and management**: Not only is there regulation around financial data, one of NDL's core growth thesis is to leverage their data for future products. To do so, their internal teams needed a manageable data infrastructure. For Howard Haynes, CPO at NDL, "if we didn't have a way to manage data and access it, it would get very overwhelming." Without the tools to support the growth in data, "this would become a major pain point."- **UX**: Every month, NDL adds thousands of new borrowers. Given the high cost of customer acquisition, any friction within the user experience directly translated to lost revenue. NDL's onboarding process needed to be smooth, fast, and seamless for borrowers.- **Scale**: NDL operates across 25 states with 12 in-person branches to process loans, stay compliant, engage with local markets, and create a boutique experience for borrowers. NDL needed the ability to build future products such as predictive matching and AI tools for their branch brokers and borrowers.<Quote img="howard-haynes.webp" caption="Howard Haynes, CPO at Next Door Lending">- If we didn’t have a way to manage data and access it, it would get very overwhelming. This would+ If we didn't have a way to manage data and access it, it would get very overwhelming. This wouldbecome a major pain point.</Quote>@@ -51,7 +59,7 @@ NDL selected Supabase after considering other providers such as Amazon Web Servi### Data - A single system to rule them all-For NDL, their backend challenges included designing the right APIs, row-level security, authentication, and a serving layer for their brokers. Having a single system that had all the appropriate functionality was important in maintaining its technical momentum. “When you use a lot of different data services, it’s much harder to keep everything as fast as we need it to be”, said Howard.+For NDL, their backend challenges included designing the right APIs, row-level security, authentication, and a serving layer for their brokers. Having a single system that had all the appropriate functionality was important in maintaining its technical momentum. "When you use a lot of different data services, it's much harder to keep everything as fast as we need it to be", said Howard.### UX - Frictionless authentication@@ -59,7 +67,7 @@ As part of NDL's business model, they work with entrepreneurs who lead local bra### Scale - To AI and beyond-NDL also deploys a separate website for each individual branch, connected together by a homegrown CMS and a shared Supabase backend server. For Howard, “when you're white labeling, and you're maintaining five or fifteen different deployments, it’s very important that you can manage most of these things from the same system or the same backend. For NDL's future AI products, they can use [Supabase Vector](https://supabase.com/vector) to store, query, and index vector embeddings at scale, without introducing a new platform to their stack.+NDL also deploys a separate website for each individual branch, connected together by a homegrown CMS and a shared Supabase backend server. For Howard, "when you're white labeling, and you're maintaining five or fifteen different deployments, it's very important that you can manage most of these things from the same system or the same backend. For NDL's future AI products, they can use [Supabase Vector](https://supabase.com/vector) to store, query, and index vector embeddings at scale, without introducing a new platform to their stack.## The Solution@@ -67,16 +75,16 @@ NDL employs multiple instances of Supabase for each of their branch web propertiAcross all of NDL's branches, they see thousands of new signups each month, and each branch's website sends their signup data to the central Supabase backend via API. All loan details are aggregated in this server, allowing internal teams to access the right data quickly.In the future, NDL plans to add a layer of predictive analytics to match borrowers and lenders. This would require capturing thousands of additional data points per user and building a comprehensive model. With Supabase, they're perfectly positioned to add on the additional capability.-“Supabase allows us to move fast and scale up as needed. There are a lot of tools that can only do one or the other – but Supabase really excels at both.” - Howard Haynes, CPO at NDL+"Supabase allows us to move fast and scale up as needed. There are a lot of tools that can only do one or the other – but Supabase really excels at both." - Howard Haynes, CPO at NDLThe Results-After launching their web application in 2020, Supabase helped NDL release new features and scale to become one of the nation's largest mortgage brokers. “Things that would have typically taken longer to set up have been a lot easier.” Howard pointed at how the engineering team quickly onboarded to Supabase, “send[ing] someone to read the docs, they come back, and they’re teaching me about a new feature in Supabase I wasn’t aware of.”+After launching their web application in 2020, Supabase helped NDL release new features and scale to become one of the nation's largest mortgage brokers. "Things that would have typically taken longer to set up have been a lot easier." Howard pointed at how the engineering team quickly onboarded to Supabase, "send[ing] someone to read the docs, they come back, and they're teaching me about a new feature in Supabase I wasn't aware of."The engineering team now had the bandwidth to focus on building a custom CMS better tailored to their business requirements. With Supabase's auth product, NDL has also built custom onboarding flows for new users, asking them for details about their loan before a direct sign-up page, and increasing user happiness.A significant portion of their business relies on SEO, making a fast-loading website crucial. They accomplished an impressive 0.5-second loading time by transitioning to a dynamic system where each page is directly loaded from the database. This transformation underscores the pivotal role Supabase played, as it houses and serves all their pages and data, ensuring their website's exceptional performance.-The success of NDL prompted its owners to expand the business with Neighbourhood Tech, a company that offers “NDL as a service” to other branches. They manage the additional system using Supabase, establishing a backend schema for data management, and utilizing replication for scalable expansion. This approach allows them to handle separate data quickly and efficiently.+The success of NDL prompted its owners to expand the business with Neighbourhood Tech, a company that offers "NDL as a service" to other branches. They manage the additional system using Supabase, establishing a backend schema for data management, and utilizing replication for scalable expansion. This approach allows them to handle separate data quickly and efficiently.An example of this is [Lock It Lending](https://www.lockitlending.com/). This new site uses Supabase to display all dynamic content, store lead information, and display financial literacy terms to their clients.diff --git a/apps/www/_customers/pebblely.mdx b/apps/www/_customers/pebblely.mdxindex 12764cb4c22..a534df50c95 100644--- a/apps/www/_customers/pebblely.mdx+++ b/apps/www/_customers/pebblely.mdx@@ -24,6 +24,14 @@ misc:{ label: 'Solutions', text: 'Supabase Database, Supabase Auth, Supabase Realtime' },]about: 'Pebblely is an AI tool that turns boring product images into beautiful marketing assets in just seconds. The AI creates backgrounds based on the uploaded images and adds shadows or reflections accordingly.'+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['ai', 'media', 'ecommerce']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'Asia'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth', 'realtime']---Alfred and SK wanted to apply the innovations of AI to the advertising industry. At the start of 2023, they began building Pebblely: an AI image generation tool that turns boring images into beautiful marketing assets in just seconds. 7 months later, they had over 1 million users.diff --git a/apps/www/_customers/quivr.mdx b/apps/www/_customers/quivr.mdxindex ad5f90e1dac..1a46e5af2b9 100644--- a/apps/www/_customers/quivr.mdx+++ b/apps/www/_customers/quivr.mdx@@ -24,11 +24,19 @@ misc:{ label: 'Solutions', text: 'Supabase Vector, Supabase Auth' },]about: "Quivr is an open source 'second brain'. It's like a private ChatGPT, personalized with your own data: you upload your documents and you can then search and ask questions using generative AI."+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['ai', 'saas', 'developer-tools']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'Europe'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth', 'storage', 'vector']---## The challenge: Building a second brain-In May of 2023, [Stan Girard's](https://twitter.com/_StanGirard) started building small prototypes that allowed him to “chat with documents”. After 2 weeks of research, he settled on an idea - build a “second brain” where a user could dump all their digital knowledge (audio, URLs, text, and code) into a vector store and query it with GPT4.+In May of 2023, [Stan Girard's](https://twitter.com/_StanGirard) started building small prototypes that allowed him to "chat with documents". After 2 weeks of research, he settled on an idea - build a "second brain" where a user could dump all their digital knowledge (audio, URLs, text, and code) into a vector store and query it with GPT4.He built the first version in a single afternoon, pushed it to GitHub, and then [tweeted about it](https://twitter.com/_StanGirard/status/1657021618571313155?s=20). One viral tweet later, and [Quivr](https://github.com/StanGirard/quivr) was born.diff --git a/apps/www/_customers/replenysh.mdx b/apps/www/_customers/replenysh.mdxindex 55b72b5f574..f6d355f6f52 100644--- a/apps/www/_customers/replenysh.mdx+++ b/apps/www/_customers/replenysh.mdx@@ -25,6 +25,14 @@ stats:]misc: [{ label: 'Founded', text: Southern California }]about: Replenysh is a digital platform that connects global brands with local communities to recover materials and eliminate the concept of waste.+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['saas', 'ecommerce']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'North America'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth']---Replenysh connects brands who want to recover their products and packaging with communities looking to monetize used materials.@@ -55,7 +63,7 @@ Firebase seemed appealing due to its ability to get started quickly, but the teaWhen the team discovered Supabase on Hacker News they felt excitement. Supabase has a reputation for a smooth developer experience, providing Postgres and Row Level Security as a core feature.-As a bonus, Supabase provided more than just a database, reducing their DevOps overhead. After reading the [Supabase Auth documentation](https://supabase.com/docs/guides/auth/overview) the team determined they can have the functionality they need, like SMS OTP. When they saw [Mobbin are using Supabase at scale](https://supabase.com/case-studies-mobbin), they decided to migrate to Supabase.+As a bonus, Supabase provided more than just a database, reducing their DevOps overhead. After reading the [Supabase Auth documentation](https://supabase.com/docs/guides/auth/overview) the team determined they can have the functionality they need, like SMS OTP. When they saw [Mobbin are using Supabase at scale](https://supabase.com/case-studies-mobbin), they decided to migrate to Supabase.## Globally recognized brands need quality at scalediff --git a/apps/www/_customers/shotgun.mdx b/apps/www/_customers/shotgun.mdxindex e49c04d562c..46eca13058c 100644--- a/apps/www/_customers/shotgun.mdx+++ b/apps/www/_customers/shotgun.mdx@@ -24,6 +24,14 @@ misc:{ label: 'Solutions', text: 'Database' },]about: 'Shotgun is a French ticketing platform with both a B2B and B2C side. It starts with a simple tool for creators to create events, distribute tickets, and build faithful fan bases. Once an event is live, users can purchase tickets on Shotgun and also discover new events.'+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['saas', 'media']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'Europe'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database']---## The challenge@@ -52,7 +60,7 @@ With Supabase, they found instant savings on the instance pricing and then additimg="florent-cailhol-shotgun.jpg"caption="Florent Cailhol - Senior Software Architect at Shotgun">- It was the cost. We thought it might be too good to be true, but there’s no denying that Supabase+ It was the cost. We thought it might be too good to be true, but there's no denying that Supabasewas better.</Quote>@@ -66,9 +74,9 @@ The migration itself also led to further performance gains. Helped by our Head oAfter moving to Supabase, Shotgun found a dependable database that consistently met their needs, demonstrating reliability even when handling one of the biggest events on their platform ever. Their engineering team now has confidence in their database.-And finally, it’s become much easier for Shotgun to onboard new developers with the Supabase dashboard. With SQL, developers can query specific pieces of data, build performance reports, and even do basic operations.+And finally, it's become much easier for Shotgun to onboard new developers with the Supabase dashboard. With SQL, developers can query specific pieces of data, build performance reports, and even do basic operations.-Shotgun’s experience with Supabase can be best summed up by, it’s cheaper, it’s easier, and it works.+Shotgun's experience with Supabase can be best summed up by, it's cheaper, it's easier, and it works.<Quoteimg="florent-cailhol-shotgun.jpg"@@ -87,4 +95,4 @@ Shotgun’s experience with Supabase can be best summed up by, it’s cheaper, i- Vercel- Supabase-> To learn more about how Supabase can help you manage and scale your database, **[reach out to us](https://forms.supabase.com/enterprise)**.+> To learn more about how Supabase can help you manage and scale your database, **[reach out to us](https://forms.supabase.com/enterprise)**.diff --git a/apps/www/_customers/tinloof.mdx b/apps/www/_customers/tinloof.mdxindex b92499c8475..ed8280b5ee1 100644--- a/apps/www/_customers/tinloof.mdx+++ b/apps/www/_customers/tinloof.mdx@@ -22,6 +22,14 @@ misc:{ label: 'Solutions', text: 'Database, Auth' },]about: "Tinloof, a full-stack development agency, specializes in building modern web applications for various clients. Their projects range from simple web apps to complex systems requiring robust and scalable backends. Tinloof's team, consisting of developers proficient in both frontend and backend technologies, faced a challenge in managing the infrastructure and backend services for their applications."+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['saas', 'developer-tools']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'Europe'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database', 'auth']---## The challenge@@ -49,7 +57,7 @@ The simplicity of integrating Supabase into projects and its detailed documentatUsing Supabase, Tinloof successfully managed to streamline their development, scale their applications with a secure and reliable backend, and deliver a positive user experience.**Streamline Development**\-The team could focus on building application logic rather than worrying about backend infrastructure. Supabase’s out-of-the-box features saved significant development time.+The team could focus on building application logic rather than worrying about backend infrastructure. Supabase's out-of-the-box features saved significant development time.**Scale Effortlessly**\During the launch of Pika, Tinloof handled over a million users without major issues, thanks to Supabase's scalable infrastructure. Supabase upgraded instances proactively based on usage metrics.diff --git a/apps/www/_customers/voypost.mdx b/apps/www/_customers/voypost.mdxindex 65d4757795a..1f01b8dc67e 100644--- a/apps/www/_customers/voypost.mdx+++ b/apps/www/_customers/voypost.mdx@@ -22,6 +22,14 @@ misc:{ label: 'Solutions', text: 'Database' },]about: 'Voypost, a leading software development company, excels in helping startups and small to medium-sized businesses build scalable and high quality applications. One of their standout projects using Supabase is Inkly, an intelligent contract negotiation platform.'+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['saas', 'developer-tools']+# "startup" | "enterprise" | "indie_dev"+company_size: 'startup'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'Europe'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database']---## The challengediff --git a/apps/www/_customers/xendit.mdx b/apps/www/_customers/xendit.mdxindex 950785e8984..8926e16e12a 100644--- a/apps/www/_customers/xendit.mdx+++ b/apps/www/_customers/xendit.mdx@@ -25,6 +25,14 @@ stats:]misc: [{ label: 'Founded', text: Jakarta Selatan }]about: Xendit is a financial technology company that provides payment solutions and simplifies the payment process for businesses in Indonesia, the Philippines, and Southeast Asia, from SMEs and e-commerce startups to large enterprises.+# "healthcare" | "fintech" | "ecommerce" | "education" | "gaming" | "media" | "real-estate" | "saas" | "social" | "analytics" | "ai" | "developer-tools"+industry: ['fintech']+# "startup" | "enterprise" | "indie_dev"+company_size: 'enterprise'+# "Asia" | "Europe" | "North America" | "South America" | "Africa" | "Oceania"+region: 'Asia'+# "database" | "auth" | "storage" | "realtime" | "functions" | "vector"+supabase_products: ['database']---## Challengediff --git a/apps/www/components/CustomerStories/CustomersFilters.tsx b/apps/www/components/CustomerStories/CustomersFilters.tsxnew file mode 100644index 00000000000..589bf297bc6--- /dev/null+++ b/apps/www/components/CustomerStories/CustomersFilters.tsx@@ -0,0 +1,220 @@+import { useRouter } from 'next/router'+import { AnimatePresence, motion } from 'framer-motion'+import { useEffect, useState } from 'react'+import type PostTypes from '~/types/post'+import {+ Button,+ DropdownMenu,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuTrigger,+ cn,+} from 'ui'+import { ChevronDown, X as CloseIcon } from 'lucide-react'+import startCase from 'lodash/startCase'+import { useBreakpoint } from 'common'++interface Props {+ allCustomers: PostTypes[]+ setCustomers: (posts: any) => void+ industries: { [key: string]: number }+ products: { [key: string]: number }+}++export const useFilters = (initialIndustry: string, initialProduct: string) => {+ const router = useRouter()+ const [industry, setIndustry] = useState<string>(initialIndustry)+ const [product, setProduct] = useState<string>(initialProduct)++ const updateUrlParams = () => {+ const params = new URLSearchParams()+ if (industry !== 'all') params.set('industry', industry)+ if (product !== 'all') params.set('product', product)+ router.replace({ pathname: '/customers', query: params.toString() }, undefined, {+ shallow: true,+ })+ }++ useEffect(() => {+ updateUrlParams()+ }, [industry, product])++ return { industry, setIndustry, product, setProduct }+}++function CustomerFilters({ allCustomers, setCustomers, industries, products }: Props) {+ const isMobile = useBreakpoint('sm')+ const router = useRouter()+ const {+ industry: activeIndustry,+ setIndustry,+ product: activeProduct,+ setProduct,+ } = useFilters('all', 'all')++ const handlePosts = () => {+ setCustomers(+ allCustomers.filter((customer: any) => {+ const matchesIndustry =+ activeIndustry === 'all' || customer.industry?.includes(activeIndustry)+ const matchesProduct = activeProduct === 'all' || customer.products?.includes(activeProduct)+ return matchesIndustry && matchesProduct+ })+ )+ }++ const resetFilters = () => {+ handleIndustryFilter('all')+ handleProductFilter('all')+ }++ useEffect(() => {+ handlePosts()+ }, [activeIndustry, activeProduct])++ const handleIndustryFilter = (selectedIndustry: string) => {+ if (selectedIndustry === 'all') {+ setIndustry('all')+ const { industry, ...rest } = router.query+ router.push({+ pathname: router.pathname,+ query: rest,+ })+ } else {+ setIndustry(selectedIndustry)+ router.push({+ pathname: router.pathname,+ query: { ...router.query, industry: selectedIndustry },+ })+ }+ }++ const handleProductFilter = (selectedProduct: string) => {+ if (selectedProduct === 'all') {+ setProduct('all')+ const { product, ...rest } = router.query+ router.push({+ pathname: router.pathname,+ query: rest,+ })+ } else {+ setProduct(selectedProduct)+ router.push({+ pathname: router.pathname,+ query: { ...router.query, product: selectedProduct },+ })+ }+ }++ return (+ <div className="flex flex-row items-center justify-between gap-2">+ <AnimatePresence mode="wait">+ <motion.div+ initial={{ opacity: 0 }}+ animate={{ opacity: 1 }}+ exit={{ opacity: 0, transition: { duration: 0.05 } }}+ className="flex flex-row flex-wrap sm:flex-nowrap justify-start items-center gap-2"+ >+ <DropdownMenu>+ <DropdownMenuTrigger asChild>+ <Button+ type="outline"+ size="medium"+ iconRight={<ChevronDown />}+ className="w-full min-w-[150px] flex [&_span]:flex [&_span]:items-center [&_span]:gap-2 justify-between items-center py-2"+ >+ {getIndustryLabel(activeIndustry) || 'All Industries'}+ </Button>+ </DropdownMenuTrigger>+ <DropdownMenuContent>+ {Object.entries(industries).map(([industry, count]) => (+ <DropdownMenuItem+ key={`item-${industry}`}+ onClick={() => handleIndustryFilter(industry)}+ className={cn(+ 'flex gap-0.5 items-center justify-between',+ (industry === 'all' && !activeIndustry) || industry === activeIndustry+ ? 'text-brand-600'+ : ''+ )}+ >+ {getIndustryLabel(industry)}{' '}+ <span className="text-foreground-lighter text-xs w-3">{count}</span>+ </DropdownMenuItem>+ ))}+ </DropdownMenuContent>+ </DropdownMenu>+ <DropdownMenu>+ <DropdownMenuTrigger asChild>+ <Button+ type="outline"+ size="medium"+ iconRight={<ChevronDown />}+ className="w-full min-w-[200px] flex [&_span]:flex [&_span]:items-center [&_span]:gap-2 justify-between items-center py-2"+ >+ {getProductLabel(activeProduct) || 'All Products'}+ </Button>+ </DropdownMenuTrigger>+ <DropdownMenuContent>+ {Object.entries(products).map(([product, count]) => (+ <DropdownMenuItem+ key={`item-${product}`}+ onClick={() => handleProductFilter(product)}+ className={cn(+ 'flex gap-0.5 items-center justify-between',+ (product === 'all' && !activeProduct) || product === activeProduct+ ? 'text-brand-600'+ : ''+ )}+ >+ {getProductLabel(product)}{' '}+ <span className="text-foreground-lighter text-xs w-3">{count}</span>+ </DropdownMenuItem>+ ))}+ </DropdownMenuContent>+ </DropdownMenu>+ <Button+ onClick={resetFilters}+ className={cn(+ 'transition-opacity',+ activeIndustry !== 'all' || activeProduct !== 'all'+ ? 'opacity-100 visible'+ : 'opacity-0 invisible'+ )}+ type={isMobile ? 'default' : 'text'}+ block={isMobile}+ iconRight={<CloseIcon />}+ >+ Reset filters+ </Button>+ </motion.div>+ </AnimatePresence>+ </div>+ )+}++const getIndustryLabel = (industry: string) => {+ switch (industry) {+ case 'all':+ return 'All Industries'+ case 'ai':+ return 'AI'+ case 'saas':+ return 'SaaS'+ default:+ return startCase(industry.replaceAll('-', ' '))+ }+}++const getProductLabel = (product: string) => {+ switch (product) {+ case 'all':+ return 'All Products'+ case 'functions':+ return 'Edge Functions'+ default:+ return startCase(product.replaceAll('-', ' '))+ }+}++export default CustomerFiltersdiff --git a/apps/www/pages/customers.tsx b/apps/www/pages/customers.tsxindex 7722b58fc92..d86c0d8e8c3 100644--- a/apps/www/pages/customers.tsx+++ b/apps/www/pages/customers.tsx@@ -13,40 +13,78 @@ import { motion } from 'framer-motion'import styles from '~/styles/customers.module.css'import Link from 'next/link'import { GlassPanel } from 'ui-patterns/GlassPanel'+import CustomersFilters from '../components/CustomerStories/CustomersFilters'+import { useState } from 'react'+import { Button, cn } from 'ui'export async function getStaticProps() {- const allPostsData = getSortedPosts({ directory: '_customers' })+ const allPostsData: any[] = getSortedPosts({ directory: '_customers' })const rss = generateRss(allPostsData)// create a rss feed in public directory// rss feed is added via <Head> component in render returnfs.writeFileSync('./public/customers-rss.xml', rss)+ const industries = allPostsData.reduce<{ [key: string]: number }>(+ (acc, customer) => {+ // Increment the 'all' counter+ acc.all = (acc.all || 0) + 1++ // Increment the counter for each category+ customer.industry?.forEach((industry: string) => {+ acc[industry] = (acc[industry] || 0) + 1+ })++ return acc+ },+ { all: 0 }+ )++ const products = allPostsData.reduce<{ [key: string]: number }>(+ (acc, customer) => {+ // Increment the 'all' counter+ acc.all = (acc.all || 0) + 1++ // Increment the counter for each category+ customer.supabase_products?.forEach((product: string) => {+ acc[product] = (acc[product] || 0) + 1+ })++ return acc+ },+ { all: 0 }+ )+return {props: {blogs: allPostsData,+ industries,+ products,},}}function CustomerStoriesPage(props: any) {const { basePath } = useRouter()-- const meta = {- title: 'Customer Stories | Supabase',- image: `${basePath}/images/customers/og/customer-stories.jpg`,- description:- 'See how Supabase empowers companies of all sizes to accelerate their growth and streamline their work.',- }-- const caseStudyThumbs = props.blogs?.map((blog: PostTypes, idx: number) => {+ const _allCustomers = props.blogs?.map((blog: PostTypes, idx: number) => {return {logo: blog.logo,logoInverse: blog.logo_inverse,+ name: blog.name,title: blog.title,link: blog.url,+ industry: blog.industry,+ products: blog.supabase_products,}})+ const [customers, setCustomers] = useState(_allCustomers)++ const meta = {+ title: 'Customer Stories | Supabase',+ image: `${basePath}/images/customers/og/customer-stories.jpg`,+ description:+ 'See how Supabase empowers companies of all sizes to accelerate their growth and streamline their work.',+ }return (<>@@ -81,7 +119,7 @@ function CustomerStoriesPage(props: any) {<div className="container mx-auto mt-28 sm:mt-44 px-4 xl:px-20"><div className="mx-auto relative z-10"><motion.div- className="mx-auto sm:max-w-2xl text-center flex flex-col items-center"+ className="mx-auto sm:max-w-2xl text-center flex flex-col items-center mb-12"initial={{ opacity: 0, y: 10 }}animate={{ opacity: 1, y: 0, transition: { duration: 0.5, easing: 'easeOut' } }}>@@ -91,41 +129,53 @@ function CustomerStoriesPage(props: any) {create outstanding products and set new industry standards.</h2></motion.div>- <div className="mx-auto my-12 md:my-20 grid grid-cols-12 gap-6 not-prose">- {caseStudyThumbs.map((caseStudy: any, i: number) => (- <Link href={`${caseStudy.link}`} key={caseStudy.title} passHref legacyBehavior>- <motion.a- className="col-span-12 md:col-span-4"- initial={{ opacity: 0, y: 20 }}- animate={{- opacity: 1,- y: 0,- transition: {- duration: 0.4,- ease: [0.24, 0.25, 0.05, 1],- delay: 0.2 + i / 15,- },- }}- >- <GlassPanel- {...caseStudy}- background={true}- showIconBg={true}- showLink={true}- hasLightIcon+ <CustomersFilters+ allCustomers={_allCustomers}+ setCustomers={setCustomers}+ industries={props.industries}+ products={props.products}+ />+ <div className="mx-auto mt-4 sm:mt-6 mb-12 md:mb-20 grid grid-cols-12 gap-6 not-prose">+ {customers?.length ? (+ customers?.map((caseStudy: any, i: number) => (+ <Link href={`${caseStudy.link}`} key={caseStudy.title} passHref legacyBehavior>+ <motion.a+ className="col-span-12 md:col-span-4"+ initial={{ opacity: 0, y: 20 }}+ animate={{+ opacity: 1,+ y: 0,+ transition: {+ duration: 0.4,+ ease: [0.24, 0.25, 0.05, 1],+ delay: 0.2 + i / 15,+ },+ }}>- {caseStudy.description}- </GlassPanel>- </motion.a>- </Link>- ))}+ <GlassPanel+ {...caseStudy}+ background={true}+ showIconBg={true}+ showLink={true}+ hasLightIcon+ >+ {caseStudy.description}+ </GlassPanel>+ </motion.a>+ </Link>+ ))+ ) : (+ <div className="col-span-12 flex flex-col gap-2 py-4 text-sm text-muted">+ <p>No customers found</p>+ </div>+ )}</div></div><div- className={[+ className={cn('absolute inset-0 h-[150px] sm:h-[300px] bg-background z-0 after:!bg-background',- styles['bg-visual'],- ].join(' ')}+ styles['bg-visual']+ )}/></div></div>diff --git a/apps/www/types/post.ts b/apps/www/types/post.tsindex 23c2108f55e..d5ab8ad9aaa 100644--- a/apps/www/types/post.ts+++ b/apps/www/types/post.ts@@ -2,6 +2,7 @@ type PostTypes = {slug?: stringtype: 'casestudy' | 'blog' | 'event'title: string+ name?: stringdate: stringformattedDate?: stringcoverImage?: string@@ -19,6 +20,10 @@ type PostTypes = {path: stringtags?: string[]categories?: string[]+ industry?: string[]+ supabase_products?: string[]+ company_size?: string+ region?: stringlogo?: stringlogo_inverse?: stringhideAuthor?: boolean