• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
yawnxyz

yawnxyz

mockingbird

Public
Like
mockingbird
Home
Code
10
backend
1
core
4
frontend
1
.gitignore
.vtignore
AGENTS.md
EXAMPLE.md
README.md
deno.json
main.js
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
backend
/
README.md
Code
/
backend
/
README.md
Search
10/25/2025
README.md

Backend Modules

This directory is for backend-specific logic and business logic.

Structure

Organize your backend code by feature:

backend/
├── api/           # API-specific logic
├── services/      # Business logic services
└── models/        # Data models

Example

// backend/services/greetings.js export function getGreeting(name) { return `Hello, ${name}!`; }

Import in routes:

// core/routes.js import { getGreeting } from '../backend/services/greetings.js'; app.get('/api/greet/:name', (c) => { const name = c.req.param('name'); return c.json({ message: getGreeting(name) }); });
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.