untitled-7989
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.
Viewing readonly version of familytree branch: v12View latest version
This is the backend server for the Family Tree Builder application, built with Hono.
GET /frontend/*- Serves frontend assets (HTML, CSS, JS, images)GET /shared/*- Serves shared utilities and typesGET /- Serves the main application HTML
GET /health- Health check endpointGET /api/info- Application information and features
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.
If server-side storage is needed in the future, the following endpoints could be added:
POST /api/family-trees- Create a new family treeGET /api/family-trees/:id- Get a specific family treePUT /api/family-trees/:id- Update a family treeDELETE /api/family-trees/:id- Delete a family treeGET /api/family-trees- List all family trees for a user
These would use Val Town's blob storage or SQLite for persistence.