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=52&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 7054 results for "database"(734ms)

MesseJREADME.md6 matches

@MesseJโ€ขUpdated 2 days ago
8- Customer reviews and ratings system
9- Responsive design with modern UI
10- SQLite database for data persistence
11
12## Project Structure
14```
15โ”œโ”€โ”€ backend/
16โ”‚ โ”œโ”€โ”€ database/
17โ”‚ โ”‚ โ”œโ”€โ”€ migrations.ts # Database schema setup
18โ”‚ โ”‚ โ””โ”€โ”€ queries.ts # Database query functions
19โ”‚ โ”œโ”€โ”€ routes/
20โ”‚ โ”‚ โ”œโ”€โ”€ machinery.ts # Machinery CRUD operations
35## Getting Started
36
371. The backend runs on Hono with SQLite database
382. Frontend uses React with TailwindCSS for styling
393. Database tables are created automatically on first run
404. Sample machinery data is seeded for demonstration
41

SalesManagementstatic.ts1 match

@Hesbonโ€ขUpdated 2 days 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 { getDashboardStats } from "../database/queries.ts";
4
5const app = new Hono();

Homefans.ts1 match

@nanaoseiiiiiiiiiโ€ขUpdated 2 days ago
6 getAllFans,
7 getFansByTeam
8} from "../database/queries.ts";
9import type { CreateFanRequest } from "../../shared/types.ts";
10

SalesManagementevents.ts1 match

@Hesbonโ€ขUpdated 2 days ago
7 updateEventContactCount,
8 updateGoalProgress
9} from "../database/queries.ts";
10
11const events = new Hono();

SalesManagementcontacts.ts1 match

@Hesbonโ€ขUpdated 2 days ago
10 markFollowUpCompleted,
11 updateGoalProgress
12} from "../database/queries.ts";
13
14const contacts = new Hono();

untitled-266index.ts2 matches

@mmmmโ€ขUpdated 2 days ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { runMigrations } from "./database/migrations.ts";
3import auth from "./routes/auth.ts";
4import users from "./routes/users.ts";
13});
14
15// Initialize database on startup
16await runMigrations();
17

SalesManagementmigrations.ts2 matches

@Hesbonโ€ขUpdated 2 days ago
7
8export async function runMigrations() {
9 console.log('Running database migrations...');
10
11 // Contacts table
62 `);
63
64 console.log('Database migrations completed');
65}
66

SalesManagementREADME.md3 matches

@Hesbonโ€ขUpdated 2 days ago
17```
18โ”œโ”€โ”€ backend/
19โ”‚ โ”œโ”€โ”€ database/
20โ”‚ โ”‚ โ”œโ”€โ”€ migrations.ts # Database schema
21โ”‚ โ”‚ โ””โ”€โ”€ queries.ts # Database operations
22โ”‚ โ”œโ”€โ”€ routes/
23โ”‚ โ”‚ โ”œโ”€โ”€ contacts.ts # Contact CRUD operations

Dryrunindex.ts3 matches

@dwish_254โ€ขUpdated 2 days 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 { getAllJobs, getChatMessages } from "./database/queries.ts";
5import jobsRouter from "./routes/jobs.ts";
6import chatRouter from "./routes/chat.ts";
13});
14
15// Initialize database on startup
16await runMigrations();
17

CHATBOTSETUP_GUIDE.md2 matches

@fevyโ€ขUpdated 2 days ago
76### Update Course Information
77
78Courses are stored in the database. To modify them:
79
801. Edit the `insertDefaultCourses()` function in `/backend/database/migrations.ts`
812. Change the table name (e.g., add `_2` to create a fresh table)
823. Redeploy and visit `/init-db` to update

bookmarksDatabase

@s3thiโ€ขUpdated 3 months ago

sqLiteDatabase1 file match

@ideofunkโ€ขUpdated 6 months ago