langchain-template-supabase  by langchain-ai

Template for full-stack web app using Supabase

created 2 years ago
512 stars

Top 61.9% on sourcepulse

GitHubView on GitHub
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

1 week

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

Explore Similar Projects

Feedback? Help us improve.