Skip to content

payloadcms/payload-tanstack-demo

Repository files navigation

Payload + TanStack Start Demo

A demo of Payload CMS running on TanStack Start instead of Next.js, based on the website template.

This is an experimental demo and is not intended for production use. It exists to showcase the framework adapter pattern being developed in payloadcms/payload#16139.

What is this?

This project demonstrates that Payload's admin panel can run on frameworks other than Next.js. It uses TanStack Start + TanStack Router with Vite as the build tool, replacing Next.js's RSC rendering with SSR + route loaders.

For details on the architecture, adapter contracts, and current test pass rates, see the PR: payloadcms/payload#16139

Getting started

pnpm install
cp .env.example .env  # configure DATABASE_URI, PAYLOAD_SECRET, etc.
pnpm dev

The admin panel is available at http://localhost:3000/admin and the frontend at http://localhost:3000.

About

Simplified Payload website template using Tanstack https://github.com/payloadcms/payload/pull/16139

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors