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>
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
## General
|
|
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 (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>"
|
|
|
|
AUTH_APPLE_CLIENT_ID="<client-id>"
|
|
AUTH_APPLE_CLIENT_SECRET="<client-secret>"
|
|
|
|
|
|
## Sidecar
|
|
SIDECAR_PORT=8091
|
|
SIDECAR_SECRET="change-me-to-a-random-secret"
|
|
|
|
## Firebase (FCM push notifications)
|
|
# Paste the full content of your firebase-admin-service-account.json here (in single quotes)
|
|
GOOGLE_CREDENTIALS_JSON=''
|
|
|
|
|
|
## Mobile
|
|
GOOGLE_PLAY_CONSOLE_CREDENTIALS_FILE="creds/play-console-service-account.json" # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
|
|
APPLE_ID="peter" # Your Apple Developer Portal username
|