MuseMVP

MuseMVP Base: Next.js for Node and Cloudflare. MuseMVP Flare: an AI SaaS template that runs entirely on Cloudflare. Authentication, billing and administration included.

Product
  • Home
  • Pricing
  • Templates
Resources
  • Docs
  • Blog
  • Changelog
Legal
  • Privacy
  • Terms
  • Community
Open-Launch Top 1 Daily WinnerOpen-Launch Top 1 Daily WinnerVerified DR - Verified Domain Rating for musemvp.comVerified DR - Verified Domain Rating for musemvp.comMuseMVP - Featured on Startup FameMuseMVP - Featured on Startup FameFazier badgeFazier badgeLiftOff award badgeLiftOff award badge

© 2026 MuseMVP. All rights reserved.

MuseMVP
  • Pricing
  • Docs
  • Blog
  • Changelog
Buy MuseMVP Base
MuseMVP Docs
MuseMVP Docs
OverviewTech StackQuick Start
Project Structure
EmailObject Storage
Internationalization
SEOAnalytics

Tech Stack

A deep dive into the technologies powering MuseMVP and why we chose them.

This page covers every core technology used in MuseMVP, along with the reasoning behind each choice. Every entry links to its official documentation so you can dive deeper whenever needed.

Next.js & React

Next.js 16 is one of the most mature React full-stack frameworks available, offering App Router, Server Components, and streaming rendering. We use Next.js to serve both the frontend and the backend API entry point (via a Hono bridge route). React 19 brings improved Server Actions and concurrency features that further reduce client-side JavaScript bundle size. The repo is typed with TypeScript 7. package.json engines.node is >=22.

Next.js 16.x

nextjs.org

React 19.x

react.dev

TypeScript 7

typescriptlang.org

Hono & TanStack Query

Hono is a lightweight, ultra-fast, edge-friendly web framework. Its built-in RPC client enables end-to-end type-safe function calls from the frontend. We mount the Hono app inside Next.js's app/api/[[...rest]] route, letting the frontend and backend coexist in the same repository.

TanStack Query handles data fetching, caching, and state synchronization on the client side. Paired with the Hono RPC client, it dramatically simplifies async data management logic.

Hono

hono.dev

TanStack Query

tanstack.com

Better Auth

Better Auth is a modern authentication library built for full-stack apps. It exposes ready-to-use auth flows and a plugin-based extension system. MuseMVP activates multiple plugins on top of Better Auth to cover everything from basic login to advanced security:

  • Email + password login / Email OTP verification code login
  • Google & GitHub OAuth social login
  • TOTP-based two-factor authentication (2FA)
  • Admin role plugin
  • Cloudflare Turnstile bot protection

Better Auth

better-auth.com

Cloudflare Turnstile

cloudflare.com

Drizzle ORM & D1

Drizzle ORM provides typed queries for D1 / SQLite through the Worker DB binding. The application binds shared queries to packages/db/src/schema-d1.ts and its migration history.

Tailwind CSS & UI Components

Tailwind CSS v4 is a utility-first CSS framework that forms the foundation of our design system. We pair it with shadcn/ui (accessible headless components built on Radix Primitives) and Motion (formerly Framer Motion) for animations.

All theme colors are managed through CSS variables, so switching themes or updating brand colors requires no changes to component code.

Tailwind CSS v4

tailwindcss.com

shadcn/ui

ui.shadcn.com

Radix Primitives

radix-ui.com

Motion

framer.com

Forms & Validation

React Hook Form provides performance-first uncontrolled form management. Zod handles schema declaration and runtime data validation. The two are deeply integrated across MuseMVP, ensuring all user input is validated on both the client and server side with full type safety.

React Hook Form

react-hook-form.com

Zod

zod.dev

Payments: Stripe, Creem, Dodo, and Waffo

Stripe is the most widely adopted SaaS payment solution globally. Creem is a developer-friendly alternative that doesn't require a US entity—ideal for indie makers. Dodo Payments and Waffo Pancake are additional hosted-checkout options. MuseMVP ships webhook and callback handling for all four gateways. The unified Muse Billing module abstracts the pricing strategy layer so you can swap payment providers without touching business logic.

Stripe

stripe.com

Creem

creem.io

Dodo Payments

dodopayments.com

Waffo Pancake

docs.waffo.ai

CMS: Fumadocs MDX

Fumadocs and Fumadocs MDX compile each app’s docs, blog, legal, and changelog sources. Schemas live in app source.config.ts; edit source MDX, not .source/. The current default body has no legacy ProContent paywall overlay.

Fumadocs

fumadocs.dev

Internationalization: next-intl

next-intl provides a complete i18n solution for the Next.js App Router, covering routing, message translation, and locale-aware formatting. Every surface in MuseMVP—landing pages, dashboards, docs, and blogs—supports seamless multi-language switching.

next-intl

next-intl.dev

Email

Cloudflare Email Sending handles production delivery. Shared React Email templates live in packages/mail/src/templates.

Object Storage

Native R2 uses R2_BUCKET. Avatar and asset access goes through same-origin /files/avatars/* with session and ownership checks.

Analytics

MuseMVP simultaneously integrates Google Analytics (GA4) and Baidu Tongji, connected through a unified useAnalytics hook that sends custom tracking events to both platforms in a single call. Ideal for products targeting both international and Chinese markets.

Google Analytics (GA4)

analytics.google.com

Baidu Tongji

tongji.baidu.com


Route Layers

apps/web-cloudflare/src/app/(landing-page)/[locale]
apps/web-cloudflare/src/app/(saas-page)/app
apps/web-cloudflare/src/app/api/[[...rest]]/route.ts
apps/web-cloudflare/src/backend/api/app.ts
PathResponsibility
apps/web-cloudflare/src/app/(landing-page)/[locale]Landing pages composed sequentially in each route file, plus blog, docs, and other marketing/CMS routes
apps/web-cloudflare/src/app/(saas-page)/appAuthenticated app dashboard and user-facing console
apps/web-cloudflare/src/app/api/[[...rest]]/route.tsNext.js → Hono API bridge entry point
apps/web-cloudflare/src/backend/api/app.tsHono router registration and middleware composition

Module Boundaries

apps/web-cloudflare/src/modules/*
apps/web-cloudflare/src/backend/*
packages/config
apps/web-cloudflare/content/docs
DirectoryResponsibility
apps/web-cloudflare/src/modules/*Feature-scoped business modules (UI + logic)
apps/web-cloudflare/src/backend/*Hono routes, API client, and app database wrappers
packages/configRuntime config: auth, billing, theme, contact delivery
apps/web-cloudflare/content/docs / apps/web-cloudflare/content/postsMDX content sources (docs and blog)

Data & Request Flow

UI components in apps/web-cloudflare/src/modules trigger a user action

React Query hooks in apps/web-cloudflare/src/backend/api-client issue a Hono RPC call

The request enters the corresponding Hono router in apps/web-cloudflare/src/backend/api/routes

The service layer (e.g. muse-billing/lib/orchestrator.ts) or query layer (packages/db/src/queries) handles business logic

The response returns, React Query updates its cache, and the UI re-renders automatically

Quick Reference

TechnologyDocs
Next.jsnextjs.org/docs
Reactreact.dev
Honohono.dev/docs
TanStack Querytanstack.com/query/latest/docs
Better Authbetter-auth.com/docs
Drizzle ORMorm.drizzle.team/docs
Tailwind CSStailwindcss.com/docs
shadcn/uiui.shadcn.com/docs
Radix UIradix-ui.com/primitives/docs
Zodzod.dev
React Hook Formreact-hook-form.com/docs
Stripestripe.com/docs
Creemcreem.io/docs
Dodo Paymentsdocs.dodopayments.com
Waffo Pancakedocs.waffo.ai
Fumadocsfumadocs.dev/docs
Fumadocs MDXfumadocs.dev/docs
next-intlnext-intl.dev/docs
React Emailreact.email/docs
Motionframer.com/motion

Testing and Workspace

Node 22+, pnpm 10.26.2, Biome, Vitest, and Playwright. Shared logic lives in packages; pages remain full copies checked with pnpm apps:parity. See Testing. Passkey/WebAuthn is not enabled; library capabilities are not automatically template features.

Overview

The Cloudflare-native edition. Run your application, database, object storage, and email on one platform.

Quick Start

Download the source, start a local app, and sign in with your development accounts.

On this page

Next.js & ReactHono & TanStack QueryBetter AuthDrizzle ORM & D1Tailwind CSS & UI ComponentsForms & ValidationPayments: Stripe, Creem, Dodo, and WaffoCMS: Fumadocs MDXInternationalization: next-intlEmailObject StorageAnalyticsRoute LayersModule BoundariesData & Request FlowQuick ReferenceTesting and Workspace

One payment. Tax included.

MuseMVP Base

Next.js for Node and for Cloudflare, with auth, payments and admin.

$69

Buy MuseMVP Base