https://github.com/nbbaier/val-town-sqlite-explorer
https://github.com/nbbaier/val-town-sqlite-explorer
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nbbaier/val-town-sqlite-explorer
- Owner: nbbaier
- Created: 2024-06-20T13:21:29.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-06-20T19:41:45.000Z (12 months ago)
- Last Synced: 2025-02-16T15:18:20.080Z (4 months ago)
- Language: TypeScript
- Homepage: https://jsr.io/@pomdtr/[email protected]
- Size: 638 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sqlite Explorer

## Setup
Rename `.env.template` to `.env` and update the values.
## Commands
- `deno task dev`: start development server
- `deno task publish`: publish to jsr (ignore the warnings)
- [jsx is not supported on jsr](https://github.com/jsr-io/jsr/issues/24), but it works if you use the `/** @jsxImportSource hono/jsx` pragma on all jsx files## Installation
### Val.town
```ts
import { createApp } from "jsr:@pomdtr/val-town-sqlite-explorer@latest";// the `valtown` env variable will be used as a token
const app = createApp();export default app.fetch;
```### Deno Deploy / Smallweb
```ts
import { createApp } from "jsr:@pomdtr/val-town-sqlite-explorer@latest";const app = createApp({
// the token is required for the app to work
token: Deno.env.get("VALTOWN_TOKEN"),
});export default app;
```