Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 327 Bytes

vision.md

File metadata and controls

28 lines (21 loc) · 327 Bytes

The Velo Vision

Simple, fast, and tiny.

import { Velo } from "velo";

const v = new Velo();

app.get("/", () => "hey");

app.get("/json", () => {
	msg: "how r u";
});

app.post("/todo", (v) => {
	const { task } = v.body();
	// ...
	return {
		success: "true",
		data: {
			task,
		},
	};
});

export default app;