nerak repo

This commit is contained in:
2026-07-29 17:35:27 -05:00
committed by nightshade
commit 826ec88c2a
84 changed files with 5448 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#include <nerak.h>
config(app){
context("greeting",
"<html>"
"<head></head>"
"<body>"
"<p>Hello {{name}}</p>"
"</body>"
"</html>"
);
resource("home", "/",
.get = {
input({"name", .def = "world"}),
mustache("greeting", "hello"),
respond("hello")
}
);
}