How w2pwinlinux/holamundoday works
Project type and purpose
• This is a static, component-based, full-stack web site built entirely in Python using the Reflex framework. The goal is to generate a 100% static conference website (holamundo.day) that is hosted on Vercel. There is no runtime server-side API—everything is compiled ahead of time by Reflex into HTML/CSS/JS and served as static assets.
File structure
• Top-level directories/files:
• assets/ – raw CSS, JS, and media (partners, speakers, preview.jpg)
• web/ – the Reflex application module
· components/ – low-level UI building blocks (button, divider, text, etc.)
· views/ – high-level pages/views (about, schedule, speakers, raffle, etc.)
· constants.py – shared configuration values
· web.py – the Reflex app entry point (app layout + routing)
• build.sh – shell script to run Reflex export/production build
• vercel.json – Vercel configuration for static deployment
• requirements.txt – Python dependencies (Reflex, etc.)
README for additional insights
• Confirms Python 3.11+, Reflex 0.4.4+, hosted on Vercel.
• Build/deploy is “static export” style; no database or serverless functions are mentioned.
a. Main components
• Developer Workstation (IDE + Git)
• Source Code Repository (GitHub)
• Build Pipeline
• build.sh (invokes Reflex export)
• vercel.json (defines Vercel build settings)
• Reflex Compiler
• Static Asset Bundle
• HTML/CSS/JS (from Reflex + assets/*)
• Hosting / CDN (Vercel)
• End-User Browser
b. Relationships and interactions
1. Developer writes Python/Reflex code in web/ and edits assets/.
2. Code is committed/pushed to GitHub repo.
3. Vercel (or CI) pulls latest code, runs build.sh → invokes Reflex → static files generated.
4. Vercel deploys the static bundle to its CDN.
5. End user’s browser requests assets from Vercel CDN; user navigates between pages (Reflex-rendered HTML).
c. Architectural patterns / design principles
• Component-based UI (atomic components in web/components, composed into pages in web/views).
• Separation of concerns: styling modules (web/styles), constants, UI components, page views.
• Static site generation pattern: build-time rendering with Reflex, zero server runtime.
• GitOps: deployment triggered by Git push, controlled by vercel.json and build.sh.
d. Key technologies/frameworks
• Python 3.11+
• Reflex 0.4.4 (UI framework & compiler)
• Static site generation (Reflex export)
• Vercel (hosting & CDN)
• Plain CSS/JS for any custom interactive elements (assets/css, assets/js)