Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/image-url.jpg%20%22Image%20title%22?q=database&page=2&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=database

Returns an array of strings in format "username" or "username/projectName"

Found 5924 results for "database"(1272ms)

Airtable312 words

https://docs.val.town/integrations/airtable/
page as plain text. Open in ChatGPT Ask questions about this page. Airtable is a spreadsheet-database hybrid. Note that because Val Town uses Deno, we use an unofficial library to

Sections

Airtable

page as plain text. Open in ChatGPT Ask questions about this page. Airtable is a spreadsheet-database hybrid. Note that because Val Town uses Deno, we use an unofficial library to

Setup

= new Airtable({ apiKey: Deno.env.get("airtable_pat"), baseId: "appXSrKDlwbAijRmD", tableName: "All content", }); // Sample data from: https://blog.airtable.com/database-vs-spreadsheet/ const results = await airtable.select(); console.log(results); Make sure to change: apiKey if you have

Appproducts.ts1 match

@Zee_paul•Updated 39 mins ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { getAllProducts, getProductById, getProductsByCategory, searchProducts } from "../database/queries.ts";
3import type { ApiResponse, Product } from "../../shared/types.ts";
4

AppREADME.md4 matches

@Zee_paul•Updated 40 mins ago
22```
23├── backend/
24│ ├── database/
25│ │ ├── migrations.ts # Database schema setup
26│ │ └── queries.ts # Database query functions
27│ ├── routes/
28│ │ ├── products.ts # Product API endpoints
50- **Backend**: Hono (TypeScript API framework)
51- **Frontend**: React with TypeScript
52- **Database**: SQLite
53- **Styling**: TailwindCSS
54- **Real-time**: Server-Sent Events for chat

bookmarksDatabase

@s3thi•Updated 3 months ago

sqLiteDatabase1 file match

@ideofunk•Updated 6 months ago