From eaf8456c6b1acf59d1bd73e2cf9b30e838953a03 Mon Sep 17 00:00:00 2001 From: miqlangelo Date: Mon, 5 May 2025 09:51:14 +0200 Subject: [PATCH] hello-world --- src/01-einfuehrung/hello-world/deno.json | 9 +++++++++ src/01-einfuehrung/hello-world/hello.ts | 2 ++ src/01-einfuehrung/test.http | 9 +++++++++ 3 files changed, 20 insertions(+) create mode 100644 src/01-einfuehrung/hello-world/deno.json create mode 100644 src/01-einfuehrung/hello-world/hello.ts create mode 100644 src/01-einfuehrung/test.http diff --git a/src/01-einfuehrung/hello-world/deno.json b/src/01-einfuehrung/hello-world/deno.json new file mode 100644 index 0000000..ae9baef --- /dev/null +++ b/src/01-einfuehrung/hello-world/deno.json @@ -0,0 +1,9 @@ +{ + "tasks": { + "dev": "deno run --watch hello.ts" + }, + "imports": { + "@std/assert": "jsr:@std/assert@1" + } +} + diff --git a/src/01-einfuehrung/hello-world/hello.ts b/src/01-einfuehrung/hello-world/hello.ts new file mode 100644 index 0000000..28e5687 --- /dev/null +++ b/src/01-einfuehrung/hello-world/hello.ts @@ -0,0 +1,2 @@ +const message: string = 'Hello, World!'; +console.log(message); diff --git a/src/01-einfuehrung/test.http b/src/01-einfuehrung/test.http new file mode 100644 index 0000000..891c563 --- /dev/null +++ b/src/01-einfuehrung/test.http @@ -0,0 +1,9 @@ +### Get nasa.com +GET https://nasa.com + +### Get nasa.com +POST https://nasa.com + +{ + "id": 1 +} \ No newline at end of file