Enterprise-Grade Tattoo Studio Management Platform
Built with Next.js 15, Prisma, NextAuth, and cutting-edge UX design.
KRONΓS SYNC is a professional-first SaaS platform designed exclusively for tattoo studios, artists, and administrators. Unlike traditional booking systems, we've architected a sovereign ecosystem where:
- Professionals (Artists & Admins) have full access to the management dashboard
- Clients interact through frictionless, guest-first experiences (Kiosk, Marketplace, Forms)
- Data sovereignty ensures each studio owns its client base without polluting the global user registry
KRONΓS implements a strict invite-only authentication system for professional access:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AUTHENTICATION FLOW β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β π€ New User Attempts Login β
β β β
β βββΊ Has Invite Code? βββΊ YES βββΊ Create as ARTIST β
β β β
β βββΊ No Invite Code? βββΊ REJECT βββΊ Error Message β
β β
β π¨ Existing Artist/Admin βββΊ Direct Access βββΊ Dashboard β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Key Benefits:
- β Zero spam or unauthorized access
- β Clean, focused user base (only team members)
- β Traceable onboarding (who invited whom)
- β Automatic role assignment based on invite type
Clients never need to create an account to interact with the studio:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CLIENT JOURNEY β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β π± Kiosk Check-In β
β βββΊ Fill form (Name, Phone, Instagram) β
β βββΊ Select barrier (Price, Pain, Style) β
β βββΊ Enter Artist PIN β
β βββΊ Receive 10% OFF Coupon β
β βββΊ Saved as KioskEntry (Studio's DB) β
β β
β ποΈ Marketplace Shopping β
β βββΊ Browse products β
β βββΊ Add to cart β
β βββΊ Checkout (Guest or Logged) β
β βββΊ Order saved to Studio's DB β
β β
β π Anamnesis Form β
β βββΊ Fill medical/tattoo questionnaire β
β βββΊ Linked to booking via QR code β
β βββΊ Stored in Booking context β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Data Storage Strategy:
KioskEntryβ Lead generation, first-time visitorsBooking.clientβ Confirmed appointmentsOrder.clientβ Marketplace purchasesAnamnesisβ Medical/consent forms
All client data is scoped to the workspace, ensuring studios maintain full ownership and LGPD compliance.
- π Real-time studio metrics (revenue, bookings, settlements)
- π¨ Artist portfolio management
- π Integrated Google Calendar sync
- π° Financial settlement tracking with AI validation
- π₯ Team management with invite system
- π― Lead capture with gamified "INK PASS" system
- π± WhatsApp integration for instant communication
- π Automatic coupon generation (10% off first tattoo)
- π Artist PIN validation for fraud prevention
- π Real-time sync progress visualization
- π Product catalog (flash tattoos, merchandise)
- π³ Integrated payment processing
- π¦ Order management with artist commission tracking
- π¨ Artist-specific product listings
- πΈ Unified Settlement Flow (tattoos + marketplace)
- π Dynamic Commission Rate:
- Resident Artists: 30% baseline commission for the studio, dynamically dropping to 20% once the artist accumulates R$ 10.000,00 in monthly earnings.
- Guest/Associated Artists: Locked at 30% fixed commission rate, matching the initial resident rate.
- π€ AI-Powered Receipt Validation (Vision Agent simulation)
- π¦ PIX Integration for instant payment tracking and settlement approvals
- π
Multi-Artist Studio Timeline: Slot-based calendar layout checking workspace bounds (max capacity
$\le 3$ active stretchers). - ποΈ Physical Stretcher Selection (
macaId1-20): Artists can manually choose a physical stretcher when creating appointments viacreateBookingwith synchronous conflict detection. - π Intelligent Auto-Allocation Fallback: Seamless automatic slot selection for clients, finding the first available physical stretcher sequence.
- π Integrated Anamnesis Forms linked to booking context via dynamic QR codes.
- π
Liquid Chrome / Metallic Achievements: 3D high-fidelity metallic badges representing real milestones (
FIRST_INK,HIGH_ROLLER,PERFECT_WEEK,LEGENDARY_ARTIST). - π RPG Progression Engine: Core square-root level progression model:
$$Level = \lfloor\sqrt{XP/100}\rfloor + 1$$ - π Dynamic Custom Ranks (e.g., Iniciado da Tinta, TecelΓ£o do Tempo, TitΓ£ do Kronos) with dedicated badge designs in
/public/assets/gamification/badges.
- Next.js 15 (App Router, Server Components)
- TypeScript (Strict mode)
- Tailwind CSS (Custom design system)
- Framer Motion (Animations)
- Lucide Icons (UI icons)
- Prisma ORM (PostgreSQL)
- Clerk Authentication (SSO-first entry gate)
- Anti-friction onboarding gate collecting and normalizing artist details without Brazilian carrier SMS barriers.
- Synchronous custom auth sync to prevent phantom administrative entries.
- Server Actions (Type-safe API)
- Resend (Email delivery)
- Vitest (Unit testing engine)
- 55 automated unit tests protecting:
- Financial splits, product markups, and coupon deduction mathematics.
- Gamification XP scaling, level boundaries, and achievements.
- Dynamic
macaIdinput integrity and validations onbookingSchema(Zod).
The core business logic is heavily audited and guarded by Vitest. To run the full test suite in isolation:
# Run unit tests
npx vitest run --root .All 55 core operations will be checked, including edge-case limits, decimal divisions, and validation schemas.
- Node.js 18+
- PostgreSQL database
- Clerk Account (for auth)
- Resend API key (for emails)
-
Clone the repository
git clone https://github.com/SH1W4/kronos-sync.git cd kronos-sync/kronos -
Install dependencies
npm install
-
Configure environment variables
cp .env.example .env
Required variables:
DATABASE_URL="postgresql://..." NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="pk_..." CLERK_SECRET_KEY="sk_..." # Email (Resend) RESEND_API_KEY="re_..." RESEND_FROM_EMAIL="KRONOS SYNC <acesso@yourdomain.com>"
-
Initialize database
npx prisma generate npx prisma db push
-
Run development server
npm run dev
-
Access the application
- App:
http://localhost:3000 - Kiosk:
http://localhost:3000/kiosk
- App:
- Professional Gate: Invitation-only Clerk SSO onboarding bypass.
- Kiosk Lead Capture System: Gamified "INK PASS" lead entry & coupon generator.
- Gamification Core (Soul Sync): Square-root progression engine.
- Liquid Chrome Achievement Assets: Metallic 3D achievements integrated.
- Studio Capacity Management: Physical stretcher allocation (
macaId1-20) and calendar booking conflict checks. - Dynamic Commission Split: Automated resident commission scaling (30%
$\rightarrow$ 20% over R$ 10k) and guest fixed 30% rate. - Vitest Quality Gate: 55 automated unit tests protecting formulas.
- AI Vision Simulation: Dynamic settlement validation OCR logic.
- Omnichannel WhatsApp CRM: Trigger automated notifications, coupons, and check-in confirmation dynamically.
- Sovereign Wallet & Real PIX Split: Instant PIX payout integrations.
- Extended BI Dashboard: Operational analytics, heatmaps of studio capacity, and artist rankings.
This project is proprietary software. All rights reserved.
Built by Symbeon Labs
For inquiries: Contact
- Design inspiration: Arrival (2016), Cyberpunk 2077
- UI/UX: Vercel, Linear, Stripe
- Community: Next.js, Prisma, Tailwind CSS




