Skip to content

gleez/deno-rsc-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deno-rsc-starter

A minimal, production-ready, framework-less template for building React Server Components (RSC) applications with Deno and Vite.

Deno React Vite Tailwind License: MIT

This starter gives you a clean, lightweight foundation to build full-stack RSC apps in Deno — no heavy framework required.
Just pure Deno HTTP server + router, React 19 Server Components, Vite for dev/build, and Tailwind CSS for styling.

Perfect for edge deployments (Deno Deploy), APIs, dashboards, or any modern web app.

Features

  • React Server Components (React 19 + RSC payload streaming)
  • Deno-native runtime (deno serve) — zero Node.js
  • Vite dev server with HMR and fast builds
  • Tailwind CSS pre-configured
  • Framework-less — simple custom router (easy to swap with Hono, @std/http, etc.)
  • Server actions with instant partial updates
  • TypeScript out of the box
  • Minimal dependencies

Quick Start

git clone https://github.com/gleez/deno-rsc-starter.git my-app
cd my-app

# Install dependencies (uses JSR + npm specifiers)
deno install

# Start dev server (Vite + Deno)
deno task dev

Open http://localhost:3000

Scripts

Command Description
deno task dev Start Vite dev server with HMR
deno task build Build for production
deno task start Run production server with deno serve

Project Structure

├── pages/              # Your pages and server actions (Server Components)
│   └── Home.tsx        # Example home page
├── components/         # Reusable Client & Server components
├── public/             # Static assets (served as-is)
├── lib/                # Utilities, custom router, helpers
├── styles.css          # Tailwind and global CSS
├── vite.config.ts      # Vite + RSC plugin configuration
└── deno.json           # Deno config, tasks, imports

Built With

Contributing

Contributions are welcome! Feel free to open issues or PRs.

License

MIT © 2026 Gleez, Inc


Made with ❤️ for the Deno + React community

Inspired by @bureaudouble/rsc – advanced RSC runtime for Deno

About

A minimal, production-ready template for building React Server Components (RSC) applications with Deno and Vite.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors