aboutsummaryrefslogtreecommitdiff
path: root/src/main.ts
diff options
context:
space:
mode:
authorMarvin Borner2020-07-09 22:38:57 +0200
committerMarvin Borner2020-07-09 22:38:57 +0200
commit43d84220dbfc7706b7c45081c31e16bfc723604b (patch)
tree10cfe1452a4e69b109438efd4a2457628af7f40b /src/main.ts
parent1edfdf5f3a316a36108a0a853b0a2553d116d6fc (diff)
Hello, world!
Diffstat (limited to 'src/main.ts')
-rw-r--r--src/main.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.ts b/src/main.ts
new file mode 100644
index 0000000..e397e85
--- /dev/null
+++ b/src/main.ts
@@ -0,0 +1,7 @@
+import { Application } from "https://deno.land/x/abc@v1/mod.ts";
+
+const app = new Application();
+
+app.get("/", (c) => {
+ return "Hello, world!";
+}).start({ port: 8080 });