RifePlayer: a Rife frequency therapy platform built on SonicJS
A production wellness app running its entire backend — content, auth, and admin — on SonicJS, with under 300 lines of custom backend code.

RifePlayer is a production wellness app that plays Rife frequency therapy programs — curated sets of audio frequencies, organized by category (immune support, sleep, detox, and more), that users browse, play, and track sessions for. The entire backend — content modeling, auth, admin tooling, and the public API — runs on SonicJS.
The setup
RifePlayer's API (apps/api in its monorepo) is SonicJS end to end:
- Runtime: Cloudflare Workers
- Database: Cloudflare D1 (SQLite at the edge)
- Storage: Cloudflare R2 for media
- ORM: Drizzle, via SonicJS's
createDb - Framework:
@sonicjs-cms/core, mounted inside a thin Hono app for CORS
That's the whole infrastructure list. No app server to provision, no database to patch, no separate admin backend to stand up.
What SonicJS replaced
Content modeling, not CRUD plumbing
RifePlayer defines its domain with two files: a programs collection (title, category, frequency data as JSON, duration, featured/active flags) and a blog-posts collection. Defining a collection is all it takes — SonicJS auto-generates the full REST surface for each:
GET /api/programs
GET /api/programs/:id
POST /api/programs
PUT /api/programs/:id
DELETE /api/programs/:id
Same for blog-posts. None of those ten routes were hand-written — they come from registerCollections() reading the collection config and syncing schema automatically (autoSync: true), including the D1 migrations.
Nearly all the custom code is one admin file
The only backend code RifePlayer wrote beyond its two collection definitions is a single admin.ts route file (~250 lines) for user list/update/delete — gated by a JWT + role check built from SonicJS's own AuthManager and users schema. Everything else — public auth (/auth/login, /auth/register, /auth/refresh, /auth/me), the admin UI at /admin, and the generated content API — ships with the framework.
Auth features picked up as plugins, not projects
RifePlayer's migration history shows the real benefit of the plugin model: magic-link login, one-time-passcode (OTP) login, and a demo login mode were all added as plugin installs, each landing as its own scoped D1 migration — not a bespoke auth subsystem the team had to design, build, and maintain. src/index.ts comments document the result plainly: "Authentication is handled by SonicJS built-in auth... see sonicjs.com/authentication."
Rich content tooling without picking a rich-text library
Over its migration history, RifePlayer tried and swapped rich text editors — TinyMCE, then an MDX-based editor, then Quill — purely by enabling/renaming SonicJS editor plugins. A rename migration (025_rename_mdxeditor_to_easy_mdx.sql) shows the team iterating on editor choice without ever touching their own schema or API code.
Everything else came along for free
FAQ plugin, testimonials plugin, code-examples plugin, transactional email plugin, settings table, configurable auth fields — all plugin-driven additions layered onto the same two custom collections, each tracked as its own migration (RifePlayer is at 29 migrations and counting, almost none of them hand-authored SQL).
Why it matters
For a small team shipping a consumer wellness product, the win isn't a feature list — it's what they didn't have to build: no custom auth, no hand-rolled admin panel, no bespoke CRUD layer, no server to keep patched. SonicJS's collection-config + plugin model meant RifePlayer's own code stays almost entirely focused on what makes RifePlayer RifePlayer — the Rife frequency domain model — while auth, admin, and content delivery run on Cloudflare's edge with near-zero operational overhead.