-
“They call me Klaasvaakie—the Sandman—because I code in the borderland between sleep and dream.
-
And when I wobble on the edge of sanity, Sani my thought manager turns me into a green second brain steering me straight.”
-
- Zappycare was born in the witching hour:
-
- Midnight Sketches: Napkin wireframes scribbled by a half‑awake dreamer.
-
- 2 AM Caffeine Alchemy: Supabase tables sparked to life under fluorescent kitchen lights.
-
- Dawn’s Debug Ritual: Tests, bug hunts, and code poetry before the sun even yawned.
- Every “TODO” here is a wink from Sani—my matrix guardian.
-
-
- Quickstart
-
- Tech Stack
-
- Features
-
- Project Map
-
- Under the Hood
-
- 🤖 AI: My Co‑Pilot & Sanity Check
-
- Contribute
-
- License
-
-
- git clone <YOUR_GIT_URL> && cd zappycare
- npm install
- cp .env.example .env
- npm run dev
-
Open http://localhost:5173 and behold the organized insanity
-
-
-
- Vite + React (TypeScript) — my nocturnal canvas
-
- shadcn‑ui + Radix UI + Tailwind CSS — styling with surgical precision
-
- Supabase — auth, realtime DB, storage (Typesafe client auto‑gen’ed)
-
- @tanstack/react-query — data fetching that never sleeps
-
- react-hook-form + Zod — forms validated like a Swiss watch
-
- react-router-dom — seamless page jumps, even at 4 AM
-
- next-themes — dark/light toggles for mood and retina health
-
- clsx + tailwind-merge — class‑name wizardry without a mess
-
-
- Insomniac Auth: email, magic‑link, OAuth flows that never doze off
-
- Realtime Vitals: live updates streamed like whispered secrets
-
- Vault‑Grade Storage: medical docs guarded like dream diaries
-
- Role‑Based Passes: doctors, nurses, admins—each with a green key
-
- Dark Mode: glare‑free nights, optimized for sleepy eyes
-
- AI Insights: on‑demand analysis via useAIProcessor—because Sani never blinks
-
-
- /
- ├── public/ # Static echoes of the real world
- ├── src/
- │ ├── App.tsx # Route wrangling & layout charm
- │ ├── main.tsx # App bootstrap (midnight initiation)
- │ ├── components/ # Sani‑approved UI atoms & molecules
- │ ├── hooks/ # useAuth, useRealtime, useAIProcessor
- │ ├── integrations/ # Supabase client & generated types
- │ ├── lib/ # Constants & cn() class‑merging magic
- │ ├── pages/ # Screens: Dashboard, Patients, AIInsights, …
- │ ├── styles/ # Tailwind config & global style spells
- │ └── utils/ # Smart helpers & midnight data wranglers
- ├── .env.example # Secret config template
- ├── vite.config.ts # Build & dev orchestration
- └── package.json # Dependency manifesto
-
-
-
- Supabase Client: in src/integrations/supabase/client.ts—type safety guaranteed, no midnight surprises.
-
- Data Layer: React‑Query + custom hooks (src/hooks/queries/*) to fetch and cache like a pro.
-
- Form Mastery: react-hook-form + Zod schemas = no more guesswork.
-
- UI Primitives: Radix + shadcn‑ui, ARIA‑checked by Sani.
-
- Theming: next-themes for auto toggles—no manual regrets.
-
- Routing: react-router-dom nested routes—snappy nav even through brain fog.
-
- Styling: Tailwind + clsx + tw-merge for confetti‑clean classes.
-
- Quality Gate: ESLint, TS, Prettier—Sani scolds me for rule breaks.
-
-
- Code Autocomplete & Refactors
-
- Suggests sleek patterns, points out redundant loops I’d miss at 4:13 AM.
-
- Error Sleuthing
-
- Parses stack traces, highlights missing types, proposes log hooks.
-
- Docs & Comments
-
- Drafts JSDoc, explains hooks: “Here’s why you need that useQuery key…”
-
- Best‑Practice Reminders
-
- “Hey Klaas, remember SOLID and DRY?”
-
- Contextual Learning
-
- Fetches real examples for new libs faster than coffee brews.
- Together, Sani and I warp sleepless chaos into production‑ready code.
-
-
- Fork this green dreamscape
-
- Branch out:
-
- git checkout -b feature/awake-at-3am
-
-
- Commit your midnight magic:
-
- git commit -m "feat: add telemedicine alerts"
-
-
- PR it—drop your caffeine level and late‑night epiphany.
-
- MIT © 2025 Wimpie van Loggerenberg
- (“Klaasvaakie, the Sandman”)
-
-
Built in the thin veil between dreams and daylight—where Sani and I keep the world well‑coded and wonderfully sane.
Loop-69/ZappyCare
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|