managarten/uload/docs/setup-local-pocketbase.md
Till-JS c712a2504a feat: integrate uload and picture, unify package naming
- Add uload project with apps/web structure
  - Reorganize from flat to monorepo structure
  - Remove PocketBase binary and local data
  - Update to pnpm and @uload/web namespace

- Add picture project to monorepo
  - Remove embedded git repository

- Unify all package names to @{project}/{app} schema:
  - @maerchenzauber/* (was @storyteller/*)
  - @manacore/* (was manacore-*, manacore)
  - @manadeck/* (was web, backend, manadeck)
  - @memoro/* (was memoro-web, landing, memoro)
  - @picture/* (already unified)
  - @uload/web

- Add convenient dev scripts for all apps:
  - pnpm dev:{project}:web
  - pnpm dev:{project}:landing
  - pnpm dev:{project}:mobile
  - pnpm dev:{project}:backend

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 04:00:36 +01:00

1.2 KiB

Lokale PocketBase Setup - Anleitung

🚀 PocketBase läuft bereits!

PocketBase ist bereits gestartet auf: http://localhost:8090

📝 Nächste Schritte:

1. Admin Account erstellen

Öffne im Browser: http://localhost:8090/_/

  • Beim ersten Besuch wirst du aufgefordert einen Admin-Account zu erstellen
  • Verwende sichere Credentials (nur für lokale Entwicklung)

2. Schema importieren

Nach dem Login als Admin:

  1. Gehe zu "Settings" → "Import/Export"
  2. Wähle "Load from JSON file"
  3. Lade die Datei: backend/pb_schema.json
  4. Klicke "Review" und dann "Confirm"

3. Test-Daten erstellen

Erstelle ein paar Test-Einträge:

Test User:

  • Email: test@localhost
  • Password: test123456

Test Links:

4. App mit lokaler DB testen

# Terminal 1: PocketBase läuft bereits
# Terminal 2: Frontend starten
npm run dev

Die App sollte jetzt http://localhost:8090 als Backend nutzen!

Verification

  1. Öffne http://localhost:5173
  2. Check Console für: "🔧 PocketBase URL: http://localhost:8090"
  3. Registriere einen Test-User
  4. Erstelle einen Test-Link

🎉 Fertig!

Deine lokale Entwicklungsumgebung ist jetzt vollständig von Production getrennt!