Zum Inhalt springen
Projekt startenStarten

Admin-Konsole

Verwalte, wer dein Produkt nutzt. Nutzer, Rollen, Sperren, Impersonation mit Banner und ein Audit-Log dessen, was Admins getan haben.

Was es hinzufügt

  • /admin, das allen, die kein Admin sind, mit 404 antwortet.
  • Nutzer und Rollen: eine Person finden, ihr Konto ansehen, ihre Rolle ändern.
  • Sperren: Eine Sperre meldet die Person sofort ab und stoppt auch ihre API-Keys und die OAuth-Tokens ihrer verbundenen Apps.
  • Impersonation: die App so sehen, wie eine Person sie sieht, mit einem Banner, das die ganze Zeit darauf hinweist.
  • Ein Audit-Log: wer wen gesperrt oder impersoniert hat, und wann.
  • pnpm admin:grant, um ein Konto über die Kommandozeile zum Admin zu machen.
  • Browser-Tests für die Admin-Abläufe.

Einrichten

Mach dein Konto zum Admin, dann melde dich ab und wieder an:

pnpm admin:grant you@example.com

Derselbe Befehl funktioniert in Produktion, mit der DATABASE_URL dieser Umgebung.

Vor dem Livegang

Ernenne den ersten Admin auf der Produktionsdatenbank, und halte die Liste kurz. LAUNCH.md bittet dich, Registrierung, Anmeldung und Kontolöschung in Produktion auszuprobieren; probiere dort auch eine Sperre und eine Impersonation aus.

Weglassen oder später hinzufügen

Lass admin in --modules weg, um ohne die Konsole zu starten. Um sie zu einem bestehenden Projekt hinzuzufügen, bitte deinen Agent, den Skill add-module zu nutzen.

Starte einen Befehl. Die CLI fragt den Rest, und dein Agent macht von dort aus weiter.

pnpm create turbinekit my-app
Prompt ansehen

Füge ihn in einen Agent ein, der Befehle ausführen kann, etwa Claude Code, Codex oder Cursor. Der Prompt ist auf Englisch.

Create a new TurbineKit project with me.
Talk to me in German.

TurbineKit (https://turbinekit.dev) is an open-source Turborepo and Next.js starter. Its CLI, create-turbinekit, needs Node.js 24 and pnpm 10 (run `corepack enable` once).

1. Run `pnpm dlx create-turbinekit --help` to see its options.
2. Ask me its questions one at a time, with their defaults: the folder, the product name, one sentence about the product, the company or legal name, the contact email, the languages and the modules. Skip what I have already told you.
3. The CLI only asks questions in an interactive terminal, so run it with my answers as options and `--yes`. Show me the command before you run it.
4. In the new folder, read AGENTS.md. Then do "1. Minimal setup" in SETUP.md, and tick each box you finish.
5. Tell me the URL of the running app, and which services SETUP.md lists next.

Keine Anmeldung, keine API-Keys. Braucht Node.js 24 und pnpm 10.