client-generator
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 main branch: v20View latest version
The backend is built with Hono and handles:
- Static file serving for the frontend
- API routing for GPT wrapper functionality
- Dynamic importing of external Val Town modules
index.ts
- Main entry point with Hono app setuproutes/serveGptWrapper.tsx
- GPT wrapper API endpoint
The backend follows RESTful principles and includes proper error handling with full stack traces for debugging.