Introduction
Alpha Note: Cloesce is under active development, expanding its feature set as it pushes towards full Cloudflare support, across any language. In this alpha, breaking changes can occur between releases.
The Cloesce Compiler converts object definitions into a full stack Cloudflare application.
Inspired by
- Entity Framework
- NestJS
- ASP.NET
- Swagger Codegen
- gRPC
- and Infrastructure as Code (IaC)
Cloesce is not just a ORM, Migrations Engine, Web Framework, Runtime Validation Library, IaC tool, or API Generator. It is all of these things and more, wrapped in a clean paradigm that makes building Cloudflare applications a breeze.
@Model(["GET", "SAVE", "LIST"])
class User {
id: Integer;
name: String;
posts: Post[];
@KV("user/settings/{id}", namespace)
settings: KValue<unknown>;
@R2("user/avatars/{id}.png", bucket)
avatar: R2Object;
@POST
async hello(): User {
// D1, KV and R2 all hydrated here!
return this;
}
}
# Coming in a later release!
// Coming in a later release!
How simple can full stack development get?
Contributing
Contributions are welcome at all levels. Join our Discord to discuss ideas, report issues, or get help getting started. Create an issue on GitHub if you find a bug or have a feature request.
Coalesce
Check out Coalesce, an accelerated web app framework for Vue.js and Entity Framework by IntelliTect. Cloesce takes much of its inspiration from Coalesce (Cloesce = Cloudflare + Coalesce).