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/$%7Bart_info.art.src%7D?q=database&page=200&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 7787 results for "database"(1781ms)

demo_projectchat.ts1 match

@amunevicโ€ขUpdated 2 weeks ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { getChatMessages, createChatMessage } from "../database/queries.ts";
3import type { CreateMessageRequest, ApiResponse } from "../../shared/types.ts";
4

demo_projectjobs.ts1 match

@amunevicโ€ขUpdated 2 weeks ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { getAllJobs, createJob, deleteJob } from "../database/queries.ts";
3import type { CreateJobRequest, ApiResponse } from "../../shared/types.ts";
4

demo_projectmigrations.ts1 match

@amunevicโ€ขUpdated 2 weeks ago
32 `);
33
34 console.log('Database migrations completed');
35}

demo_projectREADME.md4 matches

@amunevicโ€ขUpdated 2 weeks ago
13```
14โ”œโ”€โ”€ backend/
15โ”‚ โ”œโ”€โ”€ database/
16โ”‚ โ”‚ โ”œโ”€โ”€ migrations.ts # Database schema setup
17โ”‚ โ”‚ โ””โ”€โ”€ queries.ts # Database query functions
18โ”‚ โ”œโ”€โ”€ routes/
19โ”‚ โ”‚ โ”œโ”€โ”€ jobs.ts # Job posting API routes
35
36- **Backend**: Hono (TypeScript API framework)
37- **Database**: SQLite
38- **Frontend**: React with TypeScript
39- **Styling**: TailwindCSS

VA-TASK-BRAINindex.html2 matches

@aishatyyโ€ขUpdated 2 weeks ago
22 id="taskDescription"
23 name="taskDescription"
24 placeholder="e.g., manage my calendar and follow up on emails, research competitors in the fitness industry, organize my customer database..."
25 required
26 ></textarea>
158 "manage my calendar and follow up on emails",
159 "research competitors in the fitness industry",
160 "organize my customer database and create monthly reports",
161 "handle social media posting and customer inquiries",
162 "coordinate meetings and travel arrangements for the team",

VA-TASK-TIDYmorningReminder.ts3 matches

@aishatopeyemiโ€ขUpdated 2 weeks ago
2// This sends gentle reminders to users who marked their tasks as incomplete yesterday
3
4import { runMigrations } from "../backend/database/migrations.ts";
5import { getUsersNeedingMorningReminder } from "../backend/database/queries.ts";
6import { sendMorningReminder } from "../backend/services/emailService.ts";
7
10
11 try {
12 // Ensure database is ready
13 await runMigrations();
14

VA-TASK-TIDYeveningReminder.ts3 matches

@aishatopeyemiโ€ขUpdated 2 weeks ago
2// This sends check-in emails to users who have tasks for today but haven't responded yet
3
4import { runMigrations } from "../backend/database/migrations.ts";
5import {
6 getUsersNeedingEveningReminder,
7 createTaskCompletion,
8} from "../backend/database/queries.ts";
9import { sendEveningCheckIn } from "../backend/services/emailService.ts";
10
13
14 try {
15 // Ensure database is ready
16 await runMigrations();
17

VA-TASK-TIDYindex.ts2 matches

@aishatopeyemiโ€ขUpdated 2 weeks 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 } from "./database/migrations.ts";
4import api from "./routes/api.ts";
5
11});
12
13// Initialize database on startup
14await runMigrations();
15

VA-TASK-TIDYapi.ts1 match

@aishatopeyemiโ€ขUpdated 2 weeks ago
10 getTaskSetById,
11 getTaskSetByUserAndDate,
12} from "../database/queries.ts";
13import { sendCompletionConfirmation } from "../services/emailService.ts";
14

VA-TASK-TIDYmigrations.ts3 matches

@aishatopeyemiโ€ขUpdated 2 weeks ago
1import { sqlite } from "https://esm.town/v/stevekrouse/sqlite";
2
3// Database schema for VA Task Tidy
4// Note: Change table names when modifying schemas
5
9
10export async function runMigrations() {
11 console.log('Running database migrations...');
12
13 // Users table
52 `);
53
54 console.log('Database migrations completed successfully');
55}
56

bookmarksDatabase

@s3thiโ€ขUpdated 4 months ago

sqLiteDatabase1 file match

@ideofunkโ€ขUpdated 7 months ago