FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
glance
glanceGlancer
Public
Like
Glancer
Home
Code
9
.vscode
1
backend
4
frontend
6
shared
1
.cursorrules
.vtignore
INSTRUCTIONS.md
README.md
deno.json
Branches
3
Pull requests
Remixes
2
History
Environment variables
5
Settings
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
/
routes
/
api
/
_README.md
Code
/
backend
/
routes
/
api
/
_README.md
Search
…
_README.md

/api

This directory holds the endpoints that serve JSON for the /demo, and a few other endpoints that handle POSTS and GETs from the /frontend.

Conventions

If you're wondering why the file that handles routing in this directory isn't an index.ts file... The reason is that when you have a bunch of files open in your IDE called index.ts, it's impossible to know without clicking in to each file which one is which. Similar issue when debugging server logs.

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.