langchain-template-supabase  by langchain-ai

Template for full-stack web app using Supabase

Created 2 years ago
513 stars

Top 61.0% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This repository provides a template for building a LangChain application with Supabase as the backend. It's designed for developers looking to quickly prototype and deploy AI-powered applications that leverage vector databases and serverless functions.

How It Works

The template integrates LangChain with Supabase for database storage, authentication, and serverless functions. It uses Supabase's local development environment and CLI for managing database schemas and deploying functions. The frontend is a standard web application, likely using a framework like React or Vue, that interacts with both LangChain and Supabase.

Quick Start & Requirements

  • Install dependencies: yarn
  • Supabase CLI: Version 1.49.4 required.
  • Docker: Must be installed and running.
  • OpenAI API Key: Set in supabase/.env.
  • Frontend setup: cp .env.example .env
  • Start Supabase: npx supabase start
  • Start Supabase functions locally: yarn supabase:dev
  • Start frontend locally: yarn dev
  • View demo: http://localhost:3100
  • Official Docs: https://supabase.com/docs/guides/functions

Highlighted Details

  • Supabase CLI version pinning for compatibility.
  • Local development setup for Supabase functions.
  • Deployment instructions for both frontend (Vercel) and backend (Supabase functions).
  • Option to push database schema using supabase db push.

Maintenance & Community

No specific contributors, sponsorships, or community links are mentioned in the provided README.

Licensing & Compatibility

The license is not specified in the provided README.

Limitations & Caveats

The template explicitly requires a specific version of the Supabase CLI (1.49.4) due to a known issue in newer versions, which could be a barrier to adoption if not managed carefully.

Health Check
Last Commit

2 years ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
2 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Will Brown Will Brown(Research Lead at Prime Intellect), and
7 more.

cohere-toolkit by cohere-ai

0%
3k
RAG toolkit for LLM application development and deployment
Created 1 year ago
Updated 5 days ago
Feedback? Help us improve.