initial commit

This commit is contained in:
Nicola Zambello 2024-03-09 17:01:35 +02:00
commit 370f43f1ff
Signed by: nzambello
GPG key ID: 56E4A92C2C1E50BA
6 changed files with 39 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
node_modules

11
README.md Normal file
View file

@ -0,0 +1,11 @@
To install dependencies:
```sh
bun install
```
To run:
```sh
bun run dev
```
open http://localhost:3000

BIN
bun.lockb Executable file

Binary file not shown.

11
package.json Normal file
View file

@ -0,0 +1,11 @@
{
"scripts": {
"dev": "bun run --hot src/index.ts"
},
"dependencies": {
"hono": "^4.0.9"
},
"devDependencies": {
"@types/bun": "latest"
}
}

9
src/index.ts Normal file
View file

@ -0,0 +1,9 @@
import { Hono } from 'hono'
const app = new Hono()
app.get('/', (c) => {
return c.text('Hello Hono!')
})
export default app

7
tsconfig.json Normal file
View file

@ -0,0 +1,7 @@
{
"compilerOptions": {
"strict": true,
"jsx": "react-jsx",
"jsxImportSource": "hono/jsx"
}
}