Examples
Set up the Muzekit editor in Next.js, React, Vue, Nuxt, SvelteKit, Angular, Astro, Rails, Laravel, Django, Flask, FastAPI, Go and more.
Every example has the same two parts: a server route that opens a session for the signed-in user with your secret key, and a page that mounts the editor with the browser SDK. Pick your stack and copy the files.
For a Next.js app with the App Router.
For a Next.js app with the Pages Router.
For a React app (Vite or Create React App) with a Node.js backend.
For a React Router 7 or Remix app.
For a Vue app with a Node.js backend.
For a Nuxt 3 app.
For a SvelteKit app.
For an Angular app with a Node.js backend.
For an Astro site with server output.
For a Node.js app with Express.
For a Ruby on Rails app.
For a Laravel app.
For a PHP app without a framework.
For a Django app.
For a Flask app.
For a FastAPI app.
For a Go app with net/http.
Using something else? Every stack follows the quick start: one POST /v1/sessions from your server, one Muzekit.mount on your page.