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?q=database&page=170&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 6935 results for "database"(4045ms)

equitableAmaranthGoatREADME.md5 matches

@Bpexchโ€ขUpdated 1 week ago
77- **Frontend:** React 18 + TailwindCSS
78- **Authentication:** Session-based with cookies
79- **Database:** SQLite with migrations
80- **Styling:** TailwindCSS + Custom CSS
81- **Deployment:** Val Town Platform
85```
86โ”œโ”€โ”€ backend/
87โ”‚ โ”œโ”€โ”€ database/
88โ”‚ โ”‚ โ”œโ”€โ”€ migrations.ts # Database schema & default data
89โ”‚ โ”‚ โ””โ”€โ”€ queries.ts # Database query functions
90โ”‚ โ””โ”€โ”€ routes/ # API route modules
91โ”‚ โ”œโ”€โ”€ auth.ts # Authentication endpoints
179This project is designed for Val Town platform:
1801. All code is ready to deploy
1812. Database migrations run automatically
1823. HTTP trigger is configured
1834. No additional setup required

equitableAmaranthGoatindex.ts2 matches

@Bpexchโ€ขUpdated 1 week ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { readFile, serveFile } from "https://esm.town/v/std/utils@85-main/index.ts";
3import { runMigrations, seedSampleData } from "./database/migrations.ts";
4import auth from "./routes/auth.ts";
5import users from "./routes/users.ts";
13});
14
15// Initialize database on startup
16await runMigrations();
17await seedSampleData();

equitableAmaranthGoatusers.ts1 match

@Bpexchโ€ขUpdated 1 week ago
10 updateUserBalance,
11 getUserByUsername
12} from "../database/queries.ts";
13
14const users = new Hono();

equitableAmaranthGoatbetting.ts1 match

@Bpexchโ€ขUpdated 1 week ago
8 updateUserBalance,
9 getUserById
10} from "../database/queries.ts";
11
12const betting = new Hono();

equitableAmaranthGoatauth.ts1 match

@Bpexchโ€ขUpdated 1 week ago
8 getSessionUser,
9 deleteSession
10} from "../database/queries.ts";
11
12const auth = new Hono();

cerebras_coder-lodmain.tsx2 matches

@iLodhiโ€ขUpdated 1 week ago
1import { serveFile } from "https://esm.town/v/std/utils/index.ts";
2import { generateCode } from "./backend/generate-code.ts";
3import { createTables } from "./database/migrations.ts";
4import { createProject, getCode, getNextVersionNumber, insertVersion } from "./database/queries.ts";
5
6await createTables();

MYHEALTHSOURCEindex.ts4 matches

@SIR_FESTUSโ€ขUpdated 1 week ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { runMigrations, seedData } from "./database/migrations.ts";
3import healthRoutes from "./routes/health.ts";
4import appointmentRoutes from "./routes/appointments.ts";
14});
15
16// Initialize database on startup
17try {
18 await runMigrations();
19 await seedData();
20 console.log("โœ… Database initialized successfully");
21} catch (error) {
22 console.error("โŒ Database initialization failed:", error);
23}
24

MYHEALTHSOURCEREADME.md5 matches

@SIR_FESTUSโ€ขUpdated 1 week ago
43```
44โ”œโ”€โ”€ backend/
45โ”‚ โ”œโ”€โ”€ database/
46โ”‚ โ”‚ โ”œโ”€โ”€ migrations.ts # Database schema
47โ”‚ โ”‚ โ””โ”€โ”€ queries.ts # Database operations
48โ”‚ โ”œโ”€โ”€ routes/
49โ”‚ โ”‚ โ”œโ”€โ”€ health.ts # Health tracking endpoints
75- **Backend**: Hono.js API framework
76- **Frontend**: React 18.2.0 with TypeScript
77- **Database**: SQLite for data persistence
78- **Styling**: TailwindCSS
79- **Storage**: Val Town Blob storage for files
831. The backend server runs on `/backend/index.ts`
842. Frontend is served from `/frontend/index.html`
853. Database is automatically initialized on first run
864. All health data is stored securely in SQLite
87

MYHEALTHSOURCEarticles.ts2 matches

@SIR_FESTUSโ€ขUpdated 1 week ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import type { ApiResponse } from "../../shared/types.ts";
3import { getAllHealthArticles, getHealthArticleById, getAllExercises, getEmergencyContacts } from "../database/queries.ts";
4
5const articles = new Hono();
286 const letter = c.req.query("letter");
287
288 // In a real application, this would come from a database
289 const dictionaryEntries = [
290 {

cerebras_codermain.tsx2 matches

@iLodhiโ€ขUpdated 1 week ago
1import { serveFile } from "https://esm.town/v/std/utils/index.ts";
2import { generateCode } from "./backend/generate-code.ts";
3import { createTables } from "./database/migrations.ts";
4import { createProject, getCode, getNextVersionNumber, insertVersion } from "./database/queries.ts";
5
6await createTables();

bookmarksDatabase

@s3thiโ€ขUpdated 3 months ago

sqLiteDatabase1 file match

@ideofunkโ€ขUpdated 6 months ago