{"repo":"notrab/turso-per-user-starter","free":true,"listed":false,"github":"https://github.com/notrab/turso-per-user-starter","clone":"git clone https://github.com/notrab/turso-per-user-starter.git","description":"Database per user","language":"TypeScript","stars":140,"topics":["multitenancy","nextjs","sqlite","turso"],"license":null,"category":"databases-storage","readme_excerpt":"Turso Per User Starter A Next.js application that demonstrates how to use the Turso Platforms API to create a database per user. Demo The app below uses a database per user, and is powered by Turso. https://turso-per-user-starter.vercel.app Get Started Deploy your own Turso powered platform in a few easy steps... - Create a Database - Once the database is created, you'll be presented with details about your database, and Connect details - Note down the following (you'll need these later): - Database name - Org name - Group Token ( Create Group Token - Create Token ) - Platform API Token ( Create Platform API Token - Insert memorable name - Create Token )) - Sign up to Clerk - Create a new application from the dashboard - Note down the following (you'll need these later): - Public key - Secret key - Deploy with Vercel - Add the following environment variables (from the details you noted down earlier): - NEXT PUBLIC CLERK PUBLISHABLE KEY - Clerk public key - CLERK SECRET KEY - Clerk secret key - TURSO API TOKEN - Platform API Token - TURSO ORG - Org name - TURSO DATABASE NAME - Database name - TURSO GROUP AUTH TOKEN - Group Token - Click Deploy and you're done! You may optionally set up webhooks to automate the creation of databases in the background &mdash; learn more. Local Development Start building your Turso powered platform in a few simple steps... 1. Clone this repository Begin by cloning this repository to your machine: 2. Install dependencies and initialize .env Run th","default_branch":null,"files":null,"tree":[],"storefront":"/r/notrab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/notrab/turso-per-user-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}