Lalabase
티켓·문서·근무시간·고객대화를 한 곳에 모아 KI로 검색, 소프트웨어 기업 고객 프로젝트용, 오픈소스로 자체 서버·독일 클라우드에 배포
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗White-label tattoo studio management SaaS for USA & Canada.
Studios get their own branded booking page at inkbook.tech/book/[subdomain]. Clients think it's the studio's own website.
/book/[studio] with custom brand colors + fontnpm install
cp .env.local.example .env.local
# Fill in .env.local (see DEPLOY.md for details)
npm run dev
Four independent suites:
npm test # Vitest — API routes + business logic, fully mocked, offline (~2s)
npm run test:watch # same, watch mode
npm run test:coverage # same, with v8 coverage → coverage/
npm run test:ct # Playwright Component Testing — booking wizard UI, real browser, mocked fetch/actions
npm run test:db # Vitest — RLS/FK/constraint/cascade verification against a REAL local Supabase
npm run test:e2e # Playwright — full owner workflow, real browser + real backend
npm run test:all # everything, in order (needs Docker running locally — see below)
| Suite | Backend | Needs Docker locally? |
|---|---|---|
test (unit) | mocked Supabase/Stripe/Twilio | No |
test:ct | mocked fetch + server actions | No |
test:db | real local Supabase via supabase start | Yes |
test:e2e | real local Supabase + real next dev (+ real Stripe test-mode Checkout if keys are set) | Yes |
test:db and test:e2e need a local Supabase instance:
npx supabase start # applies supabase/migrations automatically
npx supabase status -o env # copy API_URL/ANON_KEY/SERVICE_ROLE_KEY/DB_URL and export as
# NEXT_PUBLIC_SUPABASE_URL / NEXT_PUBLIC_SUPABASE_ANON_KEY /
# SUPABASE_SERVICE_ROLE_KEY / SUPABASE_DB_URL
npm run test:db
npm run test:e2e # optionally export STRIPE_SECRET_KEY (test) +
# NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY (test) first to also
# exercise the live deposit-payment/consent/dashboard steps
Without Docker, these two suites aren't runnable locally — they run automatically in CI (.github/workflows/test.yml), which provisions Supabase fresh on every run via supabase/setup-cli.
tests/unit/ — one file per API route or lib module. tests/mocks/supabase.ts provides a chainable fake query builder (sb.queueFrom(table, data, error) queues the next result per table, FIFO).tests/ct/ — mounts client wizard components (ConsultationForm, CustomRequestForm) directly in a browser via Vite; ./actions (the "use server" modules) is aliased to tests/ct/mocks/shared-actions.mock.ts in playwright-ct.config.ts, and AI fetch calls are intercepted with page.route.tests/db/ — RLS isolation (cross-studio), FK/unique/check constraints, ON DELETE CASCADE/RESTRICT behavior. Ground truth is supabase/migrations/*.sql — update tests/db/schema-integrity.test.ts's tables when the schema changes.tests/e2e/ — one long scenario: register a studio → sign out/in → invite + onboard an artist → submit an AI consultation as a client → owner generates a quote and books it → (if Stripe test keys are configured) client pays the deposit on real Stripe Checkout → signs the consent form → owner dashboard shows the confirmed booking.A pre-commit hook (Husky, .husky/pre-commit) runs npm test only — fast enough not to interrupt normal commits. The full matrix (including test:db/test:e2e) runs in CI on every push/PR.
npm run test:coverage
node scripts/coverage-by-feature.mjs # → reports/coverage-by-feature.json
node scripts/generate-test-dashboard.mjs # → reports/dashboard.html (reads all 4 suites' JSON reports if present)
"Phase 1 completion %" is defined precisely in the generated report: the share of the 17 feature areas in PHASE1.md with at least one passing automated test (unit, component, or E2E) touching them. Backend line-coverage % only applies to app/api/** and lib/** — UI-only areas show "tested by" badges instead of a percentage.
.github/workflows/test.yml)Runs on every push and every PR to main: fast (typecheck + unit + component), db-and-e2e (ephemeral Supabase + DB verification + full E2E), then dashboard (aggregates both into one downloadable HTML artifact, runs even if a suite failed).
To actually block deployment on failure, two one-time manual steps (I didn't make these changes myself — they affect the whole repo/team):
main: require the fast and db-and-e2e status checks to pass before merging.main (so nothing reaches production without going through the required PR checks above). If Vercel is currently set to auto-deploy every branch/preview, leave previews as-is — only the production-branch setting matters for gating.Optional: add STRIPE_TEST_SECRET_KEY / STRIPE_TEST_PUBLISHABLE_KEY (test-mode Stripe keys) as GitHub Actions secrets to unlock the live deposit-payment portion of the E2E suite — without them those specific steps are skipped, not failed.
See DEPLOY.md for the complete guide covering: