A web app that demonstrates SlashID suborganizations and organization switching.
Uses React, Vite, Node, Fastify, and openapi-typescript-codegen.
This repo is a barebones reproduction of the /id Notes full-stack multi-tenant example app featuring organization switching.
The code here acts as a reference for the guide:
How to Build a Multi-Tenant App with Organization Switching using React, Fastify and SlashID
mv .env.example .env
VITE_ROOT_ORG_ID
is your SlashID organization id.ROOT_API_KEY
is your SlashID API key.
Your organization id and API key can be found in the SlashID Console after signing up.
npm install
npm run build
npm start