Moved Frontent end to seperate folder

This commit is contained in:
AlexanderHD27
2024-10-20 00:33:54 +02:00
parent 50f9b0e89c
commit 41a32b450c
49 changed files with 20 additions and 1579 deletions

5
gobot-gui/api/deno.json Normal file
View File

@@ -0,0 +1,5 @@
{
"tasks": {
"dev": "deno run --watch main.ts"
}
}

8
gobot-gui/api/main.ts Normal file
View File

@@ -0,0 +1,8 @@
export function add(a: number, b: number): number {
return a + b;
}
// Learn more at https://deno.land/manual/examples/module_metadata#concepts
if (import.meta.main) {
console.log("Add 2 + 3 =", add(2, 3));
}

View File

@@ -0,0 +1,6 @@
import { assertEquals } from "jsr:@std/assert";
import { add } from "./main.ts";
Deno.test(function addTest() {
assertEquals(add(2, 3), 5);
});