777 B
777 B
Fresh
Fresh is a small, fast and extensible full stack web framework built on Web Standards. It’s designed for building high-quality, performant, and personalized web applications.
Usage
Generate a new Fresh project with @paulaboks/sweet-init:
deno run -Ar jsr:@paulaboks/sweet-init
Add middleware, routes, & endpoints as needed via the routes/ folder or
directly on the App instance.
import { App } from "sweet";
const app = new App()
.get("/", () => new Response("hello world"))
.get("/jsx", (ctx) => ctx.render(<h1>render JSX!</h1>));
app.listen();
For more information on getting started with Fresh, head on over to the documentation.