• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
andrewn

andrewn

quick-markdown-tester

Public
Like
quick-markdown-tester
Home
Code
3
backend
1
frontend
1
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
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
/
Code
/
Search
index.ts
https://andrewn--8302f63a8a5411f0a6b10224a6c84d84.web.val.run
README.md

Echo Form Application

A simple web application that demonstrates form submission and server response echoing.

Features

  • Frontend form with textarea input
  • Real-time form submission via JavaScript
  • Backend API that echoes submitted text
  • Clean, responsive UI with Tailwind CSS
  • Error handling and loading states

Structure

├── backend/
│   └── index.ts          # Hono server with API endpoints
├── frontend/
│   └── index.html        # Main HTML page with form
└── README.md

How it works

  1. User enters text in the textarea
  2. Form submits via JavaScript to /api/echo endpoint
  3. Backend receives the text and echoes it back with metadata
  4. Frontend displays the server response next to the form

API Endpoints

  • GET / - Serves the main HTML page
  • POST /api/echo - Accepts JSON with text field, returns echoed response

Usage

The application is accessible via the HTTP trigger on the backend. Simply visit the URL and use the form to submit text and see it echoed back.

HTTP
  • index.ts
    andrewn--83…84.web.val.run
Code
backendfrontendREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.