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

alexwein

IsItTwoWords

Remix of std/reactHonoStarter
Public
Like
IsItTwoWords
Home
Code
3
backend
2
frontend
5
README.md
Branches
3
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
/
README.md
Code
/
README.md
Search
6/30/2025
Viewing readonly version of main branch: v63
View latest version
README.md

Name TBD

  1. Is it Two Words?

  2. Star/Rats

  3. backwords

  4. Quick Swipe Word Quiz #1

  5. emagdrow

  6. starting menu

  7. scoring

  8. how to

  9. share link

Architecture

The app now uses a backend API to serve word data:

  • Backend: /backend/index.ts serves the main application and API endpoints
  • Wordlist API: /api/wordlist serves the word data from /backend/wordlist.tsx
  • Frontend: React components fetch wordlist data from the backend API instead of using hardcoded arrays

Data Flow

  1. Frontend App component loads and shows "Loading words..."
  2. useEffect hook fetches wordlist from /api/wordlist
  3. Backend serves the full wordlist data from wordlist.tsx
  4. Frontend stores the complete word objects with all metadata (text, ltr, rtl, palindrome)
  5. App renders using word.text where needed, but has access to all word properties

handle data: random for now into 3 packs?

  1. pack 1
  2. pack 2

state: time, score, current_word_index

How to play:

If you see a word, swipe left to right. If you see a word spelled backwards, swipe right to left. If you see something that is both a word, a a word spelled backwards, swipe back and forth.

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.