Pick your app

The examples below will be updated with your app ID.

Introduction

Create Superlayer App

Once you know the basics of Superlayer, you may find it useful to be able to quickly scaffold a new Superlayer project. We built @superlayer/create-app to do just that.

We currently offer templates for Next.js, Vite + React, Expo, and Vanilla TypeScript. Follow the quick start below to give it a spin!

#Quick start

If you haven't already, authenticate with the Superlayer CLI in your terminal.

npx @superlayer/cli login

This will open a browser window where you can log in or sign up for an account. Once you've authenticated, any app you create with @superlayer/create-app will be associated with your Superlayer account!

After authenticating, run the following command to scaffold a new Superlayer app.

npx @superlayer/create-app superlayer-demo

Run the dev server to see your new app in action!

cd superlayer-demo
npm run dev

Huzzah! 🎉 You now have a brand new Superlayer project to play around with!

#One-shot with Claude Code

Got Claude Code? You can use it to one-shot a full-stack Superlayer app!

Use @superlayer/create-app with the --ai flag and you'll be prompted to describe the app you want to build. Give it a try!

npx @superlayer/create-app --ai

You can think of this as a one-shot app builder in the terminal.

If you are an LLM trying to learn how to develop with Superlayer, here are all of the links to the docs:

Getting started w/ ReactGetting started w/ React NativeGetting started w/ Vanilla JSGetting started w/ SolidJSGetting started w/ SvelteGetting started w/ VueGetting started w/ TanStack StartGetting started w/ PythonCreate Superlayer AppConnecting to SuperlayerRecommended WorkflowUsing LLMsInitModeling dataWriting dataReading dataInfinite QueriesSuperlayer on the backendPatternsAuthMagic codesGuest AuthGoogle OAuthSign In with AppleGitHub OAuthLinkedIn OAuthClerkFirebase AuthPermissionsRate LimitsManaging usersPresence, Cursors, and ActivitySuperlayer CLIDevtoolPlatform APIExplorer ComponentCustom emailsApp teamsStorageStreamsWebhooksBackupsStripe PaymentsAdmin HTTP API(Experimental) Next.js SSROverviewVPSAWSMigrate from Superlayer Cloud
Create Superlayer App