MaCH repo

This commit is contained in:
2025-07-24 12:46:01 -05:00
committed by Nick Ricketts
commit 08e7f890c3
78 changed files with 4659 additions and 0 deletions

19
06_todo_events/main.c Normal file
View File

@@ -0,0 +1,19 @@
#include <mach.h>
#include <session_auth.h>
#include "todos/todos.c"
#include "activity/activity.c"
void mach(){
todos_config();
activity_config();
session_auth_config();
error(m_error, {mustache("5xx")});
error(m_not_found, {mustache("404")});
middleware(session());
resource("home", "/",
.get = {mustache("home")}
);
}