The best way to build serverless next.js apps.
Stop wrestling with Cloudflare configurations for Next.js 15. Trezma Stack provides a zero-config environment with Workers, D1, and everything you need to deploy globally scalable apps that can genuinely remain on the free tier and scale when you need it.
The most modern technologies to make your life easier
Our approach was to integrate the newest breakthroughs that simultaneously stand as the most effective and robust options available today.
Next.js 15 / React 19
The leading React framework for building dynamic, high-performance web experiences.
TypeScript
Because any is a cry for help. End-to-end type safety isn't a feature, it's a baseline requirement.
Tailwind CSS v4
Utility-first CSS that lets you build custom designs rapidly without ever leaving your HTML. It just clicks.
Drizzle ORM
A modern, type-safe SQL ORM that makes interacting with Cloudflare D1 intuitive and error-free.
Better Auth
Authentication on the edge, simplified and secure. Skip the auth boilerplate nightmare.
tRPC
Enjoy end-to-end typesafe APIs without the usual code generation overhead. It's a game-changer.
Bun
A remarkably fast JavaScript runtime, bundler, and package manager designed to accelerate your workflow.
T3 ENV
Environment variables that don't suck. Type-safe, validated, and finally manageable.
Deployed on Cloudflare
Let's be honest: Trezma Stack is Cloudflare. We've gone all-in so you get insane performance, effortless scaling, and practically non-existent costs.
Cloudflare workers
Your Next.js app, running at the edge. Forget servers, think speed. This is how you build modern apps.

Opennext
The magic glue that makes Next.js work on Cloudflare Workers. Without it, Trezma Stack wouldn't exist.
Cloudflare D1 serverless database
SQL at the edge. Fast, reliable, and directly accessible from your Workers. Database headaches? Solved.
Cloudflare R2
Affordable, S3-compatible object storage. Ideal for assets, user uploads, and caching, with often-free egress.
300+ edge locations
Your application is automatically distributed across Cloudflare's vast network. Cloudflare has an edge network within 50ms of 95% of all the users in the world.