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=207&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 7790 results for "database"(1706ms)

xREADME.md1 match

@NOHโ€ขUpdated 2 weeks ago
52## Sample Data
53
54The application includes sample Bitcoin addresses starting with "1B" and generates additional test data for demonstration purposes. In a production environment, this would connect to a real Bitcoin blockchain API or database.

untitled-9443dashboard.ts1 match

@Deep_25โ€ขUpdated 2 weeks ago
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { getDashboardStats } from "../database/queries.ts";
3
4export const dashboardRouter = new Hono();

untitled-9443attendance.ts1 match

@Deep_25โ€ขUpdated 2 weeks ago
5 markAttendance,
6 logActivity
7} from "../database/queries.ts";
8
9export const attendanceRouter = new Hono();

untitled-9443grades.ts1 match

@Deep_25โ€ขUpdated 2 weeks ago
6 createGrade,
7 logActivity
8} from "../database/queries.ts";
9import type { GradeForm } from "../../shared/types.ts";
10

untitled-9443classes.ts1 match

@Deep_25โ€ขUpdated 2 weeks ago
7 deleteClass,
8 logActivity
9} from "../database/queries.ts";
10import type { ClassForm } from "../../shared/types.ts";
11

untitled-9443teachers.ts1 match

@Deep_25โ€ขUpdated 2 weeks ago
7 deleteTeacher,
8 logActivity
9} from "../database/queries.ts";
10import type { TeacherForm } from "../../shared/types.ts";
11

untitled-9443students.ts1 match

@Deep_25โ€ขUpdated 2 weeks ago
7 deleteStudent,
8 logActivity
9} from "../database/queries.ts";
10import type { StudentForm } from "../../shared/types.ts";
11

untitled-9443index.ts2 matches

@Deep_25โ€ข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, insertSampleData } from "./database/migrations.ts";
4import { studentsRouter } from "./routes/students.ts";
5import { teachersRouter } from "./routes/teachers.ts";
16});
17
18// Initialize database on startup
19await runMigrations();
20await insertSampleData();

untitled-9443migrations.ts3 matches

@Deep_25โ€ขUpdated 2 weeks ago
1import { sqlite } from "https://esm.town/v/stevekrouse/sqlite";
2
3// Database schema setup for school management system
4export async function runMigrations() {
5 console.log("Running database migrations...");
6
7 // Students table
102 `);
103
104 console.log("Database migrations completed successfully");
105}
106

untitled-9443README.md4 matches

@Deep_25โ€ขUpdated 2 weeks ago
16```
17โ”œโ”€โ”€ backend/
18โ”‚ โ”œโ”€โ”€ database/
19โ”‚ โ”‚ โ”œโ”€โ”€ migrations.ts # Database schema setup
20โ”‚ โ”‚ โ””โ”€โ”€ queries.ts # Database query functions
21โ”‚ โ”œโ”€โ”€ routes/
22โ”‚ โ”‚ โ”œโ”€โ”€ students.ts # Student CRUD operations
441. The backend API runs on the main HTTP endpoint
452. Frontend is served at the root path
463. All data is stored in SQLite database
474. Real-time updates via API polling
48

bookmarksDatabase

@s3thiโ€ขUpdated 4 months ago

sqLiteDatabase1 file match

@ideofunkโ€ขUpdated 7 months ago