Skip to content

outseta/outseta-react-kitchen-sink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Outseta React Kitchen Sink

This project provides an overview of the multiple ways to integrate the Outseta embeds with React. It's designed as a reference implementation showing various Outseta embed implementations and integration patterns.

What is a Kitchen Sink?

A "kitchen sink" provides comprehensive examples of how to use a technology. It's not intended to be a starting point for new projects.

If you're looking for a starting point for a new project, check out the Outseta React Starter.

Running Locally

  1. Clone the repository
git clone https://github.com/outseta/outseta-react-kitchen-sink.git
cd outseta-react-kitchen-sink
  1. Install dependencies
npm install
  1. Configure environment variables Create a .env file in the root directory with the following variables:
VITE_OUTSETA_DOMAIN=your-domain.outseta.com
VITE_OUTSETA_ADD_ON_UIDS=uid1,uid2
VITE_OUTSETA_LEAD_CAPTURE_UID=uid1,uid2
VITE_OUTSETA_EMAIL_LIST_UIDS=uid1,uid2
  • VITE_OUTSETA_DOMAIN: Your Outseta domain
  • VITE_OUTSETA_ADD_ON_UIDS: Comma-separated UIDs for add-on products
  • VITE_OUTSETA_LEAD_CAPTURE_UID: Comma-separated UIDs for lead capture forms
  • VITE_OUTSETA_EMAIL_LIST_UIDS: Comma-separated UIDs for email lists
  1. Start the development server
npm run dev

Features Demonstrated

The project includes examples for:

  • Auth Embed (Signup, Login, Combined Signup/Login)
  • Profile Embed (Billing, Profile, Account)
  • Profile Embed (Buy Add On)
  • Lead Capture Embed
  • Email List Embed
  • Protected Content
  • Logout Functionality

Relevant Outseta Docs

Technology Stack

  • React
  • Vite
  • React Router
  • Outseta Embed API

About

Demo of all the ways one can user our embeds with react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published