x/fastro/examples/json_response_fastro.ts
123456789101112import application, { response } from "../server/mod.ts";const app = application();app.get("/", () => { return response().json({ text: "Hello world" });});console.log("Listening on: http://localhost:8000");await app.serve();