16```
17โโโ backend/
18โ โโโ database/
19โ โ โโโ migrations.ts # Database schema setup
20โ โ โโโ queries.ts # Database query functions
21โ โโโ routes/
22โ โ โโโ auth.ts # Authentication routes
44- **Backend**: Hono (TypeScript API framework)
45- **Frontend**: React 18.2.0 with TypeScript
46- **Database**: SQLite
47- **Styling**: TailwindCSS
48- **Storage**: Val Town Blob for user avatars
50## Getting Started
51
521. The backend automatically sets up the database on first run
532. Visit the main page to start browsing posts
543. Create an account to start posting and interacting
11```
12โโโ backend/
13โ โโโ database/
14โ โ โโโ migrations.ts # Database schema setup
15โ โ โโโ queries.ts # Database query functions
16โ โโโ routes/
17โ โ โโโ properties.ts # Property CRUD operations
41## Tech Stack
42
43- **Backend**: Hono.js with SQLite database
44- **Frontend**: React with TypeScript
45- **Styling**: TailwindCSS
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { getMessagesByJobId, createMessage } from "../database/queries.ts";
3import type { CreateMessageRequest } from "../../shared/types.ts";
4
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { getAllJobs, getJobById, createJob } from "../database/queries.ts";
3import type { CreateJobRequest } from "../../shared/types.ts";
4
28 )`);
29
30 console.log('Database migrations completed');
31}
32
14```
15โโโ backend/
16โ โโโ database/
17โ โ โโโ migrations.ts # Database schema setup
18โ โ โโโ queries.ts # Database query functions
19โ โโโ routes/
20โ โ โโโ jobs.ts # Job posting endpoints
16โโโ backend/
17โ โโโ index.ts # Main Hono server
18โ โโโ database/
19โ โ โโโ migrations.ts # Database schema
20โ โ โโโ queries.ts # Database queries
21โ โโโ routes/
22โ โโโ api.ts # API endpoints
75## Development
76
77- **Backend**: Hono framework with SQLite database
78- **Frontend**: React 18 with TypeScript
79- **Styling**: TailwindCSS with custom CSS animations
80- **Database**: SQLite for persistent data storage
81- **Deployment**: Val Town serverless platform
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { getChatMessages, createChatMessage } from "../database/queries.ts";
3import type { ChatFormData } from "../../shared/types.ts";
4
1import { Hono } from "https://esm.sh/hono@3.11.7";
2import { getAllProperties, createProperty, getPropertyById } from "../database/queries.ts";
3import type { PropertyFormData } from "../../shared/types.ts";
4
35 `);
36
37 console.log('Database migrations completed');
38}
39