Social Prediction-Markets App, Cloudflare Build
Overview
The deployment-ready iteration of the social prediction-markets feed app, packaged to ship on Cloudflare Workers. It carries the same mobile-first feed, voting, and camera-create experience while adding a Tailwind v4 build and a Wrangler-based deploy pipeline.
Why It Exists
To take the front-end prediction-markets build from local build to a hostable build, validating the Cloudflare Workers delivery path for a Vite/React SPA and exercising the vite build && wrangler deploy workflow.
What We Built
A React 19 + Vite app mirroring the sibling build’s structure, feed/ (FeedCard, GlobalFeed, VotePanel, MarketChipSlider, SlideToCall), discover/, event/, profile/, and a create/CameraComposer flow, wired through UserContext and TanStack Query, with React Router v7 and Framer Motion. A polymarket.js client supplies market data. The Tailwind CSS v4 Vite plugin handles styling, and package.json defines deploy (vite build && wrangler deploy) and cf:dev scripts targeting Cloudflare.
Technologies & Approach
React 19/JSX + Vite for the UI, Tailwind CSS v4 for styling, TanStack Query for data, React Router v7 for routing, Framer Motion for animation, and Cloudflare Workers (via Wrangler) as the deployment target. Polymarket remains the prediction-markets data source.
Outcome / Impact
Produced a deployable build of the prediction-markets app and proved out the Cloudflare Workers hosting path for the React SPA. A build that validated both product concept and delivery pipeline.
Capabilities Demonstrated
- Mobile-first social feed UI/UX engineering
- Prediction-market data integration (Polymarket)
- Tailwind v4 + React 19 + Vite build setup
- Cloudflare Workers deployment via Wrangler