FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
lightweight
lightweightGlimpse2
Remix of glance/Glimpse2
Unlisted
Like
Glimpse2
Home
Code
8
TOWNIE
3
backend
7
frontend
1
shared
1
.vtignore
README.md
deno.json
H
main.tsx
Branches
2
Pull requests
Remixes
History
Environment variables
5
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
Sign up now
Code
/
backend
/
services
/
README.md
Code
/
backend
/
services
/
README.md
Search
…
README.md

Services

External API integrations (pure API calls only).

Responsibilities

  • Single-purpose functions that make direct API calls to external systems
  • Pure functions that handle HTTP transport layer (response.ok)
  • Should NOT handle environment variables, business logic, or orchestrate multiple calls
  • Return consistent { success: boolean, data?: any, error?: string } format

Examples

  • getDatabaseById(id) - retrieve specific database from Notion
  • searchNotionDatabases() - search for all databases
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.