Initial commit
This commit is contained in:
parent
d44865db42
commit
c47eea3826
2
.environment/.env.example
Normal file
2
.environment/.env.example
Normal file
@ -0,0 +1,2 @@
|
||||
DB_PASSWORD=abcdefg1234
|
||||
DB_USER=Admin
|
||||
0
.environment/.gitkeep
Normal file
0
.environment/.gitkeep
Normal file
24
.vscode/launch.json
vendored
Normal file
24
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"request": "launch",
|
||||
"name": "Launch Program",
|
||||
"type": "node",
|
||||
"program": "${workspaceFolder}/main.ts",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"env": {},
|
||||
"runtimeExecutable": "/usr/bin/deno",
|
||||
"runtimeArgs": [
|
||||
"run",
|
||||
"--unstable",
|
||||
"--inspect-wait",
|
||||
"--allow-all"
|
||||
],
|
||||
"attachSimplePort": 9229
|
||||
}
|
||||
]
|
||||
}
|
||||
9
deno.json
Normal file
9
deno.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"tasks": {
|
||||
"dev": "deno run --watch main.ts"
|
||||
},
|
||||
"imports": {
|
||||
"@hono/hono": "jsr:@hono/hono@^4.6.14",
|
||||
"@std/assert": "jsr:@std/assert@1"
|
||||
}
|
||||
}
|
||||
28
deno.lock
generated
Normal file
28
deno.lock
generated
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"version": "4",
|
||||
"specifiers": {
|
||||
"jsr:@hono/hono@^4.6.14": "4.6.14",
|
||||
"jsr:@std/assert@1": "1.0.9",
|
||||
"jsr:@std/internal@^1.0.5": "1.0.5"
|
||||
},
|
||||
"jsr": {
|
||||
"@hono/hono@4.6.14": {
|
||||
"integrity": "b39a5488266adf448fb1081bc3071a0d05145e72f3ab3ff83cf140e780c6c1de"
|
||||
},
|
||||
"@std/assert@1.0.9": {
|
||||
"integrity": "a9f0c611a869cc791b26f523eec54c7e187aab7932c2c8e8bea0622d13680dcd",
|
||||
"dependencies": [
|
||||
"jsr:@std/internal"
|
||||
]
|
||||
},
|
||||
"@std/internal@1.0.5": {
|
||||
"integrity": "54a546004f769c1ac9e025abd15a76b6671ddc9687e2313b67376125650dc7ba"
|
||||
}
|
||||
},
|
||||
"workspace": {
|
||||
"dependencies": [
|
||||
"jsr:@hono/hono@^4.6.14",
|
||||
"jsr:@std/assert@1"
|
||||
]
|
||||
}
|
||||
}
|
||||
7
main.ts
Normal file
7
main.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import { Hono } from '@hono/hono'
|
||||
|
||||
const app = new Hono()
|
||||
|
||||
app.get('/', (c) => c.text('Hello Deno!'))
|
||||
|
||||
Deno.serve(app.fetch)
|
||||
6
main_test.ts
Normal file
6
main_test.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import { assertEquals } from "@std/assert";
|
||||
|
||||
|
||||
Deno.test(function addTest() {
|
||||
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user