• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
Dalida025

Dalida025

untitled-7989

Public
Like
untitled-7989
Home
Code
5
backend
2
frontend
4
shared
2
README.md
main.tsx
Environment variables
Branches
2
Pull requests
Remixes
History
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
6/2/2025
README.md

Backend - Family Tree Builder

This is the backend server for the Family Tree Builder application, built with Hono.

Endpoints

Static File Serving

  • GET /frontend/* - Serves frontend assets (HTML, CSS, JS, images)
  • GET /shared/* - Serves shared utilities and types
  • GET / - Serves the main application HTML

API Endpoints

  • GET /health - Health check endpoint
  • GET /api/info - Application information and features

Architecture

The backend is designed to be simple and focused on serving the frontend application. All family tree data is stored client-side in localStorage, making this a purely client-side application with a static file server.

Future Enhancements

If server-side storage is needed in the future, the following endpoints could be added:

  • POST /api/family-trees - Create a new family tree
  • GET /api/family-trees/:id - Get a specific family tree
  • PUT /api/family-trees/:id - Update a family tree
  • DELETE /api/family-trees/:id - Delete a family tree
  • GET /api/family-trees - List all family trees for a user

These would use Val Town's blob storage or SQLite for persistence.

FeaturesVersion controlCode intelligenceCLIMCP
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
Β© 2026 Val Town, Inc.