feat: complete ShiftCraft — AI-powered shift scheduling SaaS

Complete implementation including:
- Landing page with hero, features, how-it-works, pricing
- Employee management (CRUD with soft delete)
- AI constraint parser (Anthropic Claude API)
- German labor law templates (ArbZG §3, §5, §9)
- HiGHS ILP solver for optimal fair schedules
- Schedule calendar result view (employee × date grid)
- Shift framework configuration (periods + shifts)
- Subscription tiers: Free / Pro / Business
- PocketBase setup script with collection creation + seed data
- .env.example with all required variables documented

Pages: employees, constraints (list/new/templates), schedules (list/new/[id]),
       settings (organization/shifts/billing), dashboard

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-18 07:47:31 +02:00
parent 2ea4ca5d52
commit 36e0946ee4
38 changed files with 4254 additions and 133 deletions

View File

@@ -1,19 +1,30 @@
## General
APP_NAME="Nuxt Pocketbase Starter"
APP_ID="com.pocketbase.nuxt"
APP_NAME="ShiftCraft"
APP_ID="app.shiftcraft"
NODE_ENV="development"
## Frontend
NUXT_PUBLIC_APP_URL="http://localhost:3000"
NUXT_PUBLIC_PB_URL="http://127.0.0.1:8090"
NUXT_PUBLIC_POCKETBASE_URL="http://127.0.0.1:8090"
NUXT_PUBLIC_RYBBIT_URL="" # e.g. https://app.rybbit.io
NUXT_PUBLIC_RYBBIT_SITE_ID="" # Your Rybbit site ID
## Backend
SUPERUSER_EMAIL="mail@example.com"
SUPERUSER_PW="!234Qwer"
## Backend (PocketBase admin)
PB_ADMIN_EMAIL="admin@shiftcraft.app"
PB_ADMIN_PASSWORD="changeme123"
SUPERUSER_EMAIL="admin@shiftcraft.app"
SUPERUSER_PW="changeme123"
## AI (Anthropic Claude — required for constraint parsing)
ANTHROPIC_API_KEY="sk-ant-..."
## Payments (Stripe — optional)
STRIPE_SECRET_KEY=""
STRIPE_PUBLISHABLE_KEY=""
STRIPE_WEBHOOK_SECRET=""
AUTH_GOOGLE_CLIENT_ID="<client-id>"
AUTH_GOOGLE_CLIENT_SECRET="<client-secret>"