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

@@ -36,9 +36,15 @@ export default defineNuxtConfig({
css: ['~/assets/css/main.css'],
runtimeConfig: {
pbAdminEmail: process.env.PB_ADMIN_EMAIL || '',
pbAdminPassword: process.env.PB_ADMIN_PASSWORD || '',
anthropicApiKey: process.env.ANTHROPIC_API_KEY || '',
stripeSecretKey: process.env.STRIPE_SECRET_KEY || '',
stripeWebhookSecret: process.env.STRIPE_WEBHOOK_SECRET || '',
public: {
appUrl: 'http://localhost:3000',
pocketbaseUrl: 'http://127.0.0.1:8090',
pocketbaseUrl: process.env.NUXT_PUBLIC_PB_URL || 'http://127.0.0.1:8090',
stripePublishableKey: process.env.STRIPE_PUBLISHABLE_KEY || '',
rybbitScriptUrl: '',
rybbitSiteId: ''
}