<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Josep Gisbert Queral</title>
    <description>The latest articles on DEV Community by Josep Gisbert Queral (@josep_gisbertqueral_cd18).</description>
    <link>https://dev.to/josep_gisbertqueral_cd18</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4271644%2F51cb54ff-88b0-41b1-ae28-95e37c6467cb.jpg</url>
      <title>DEV Community: Josep Gisbert Queral</title>
      <link>https://dev.to/josep_gisbertqueral_cd18</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/josep_gisbertqueral_cd18"/>
    <language>en</language>
    <item>
      <title>Expandia by VilaDuo</title>
      <dc:creator>Josep Gisbert Queral</dc:creator>
      <pubDate>Sun, 29 Nov 2026 08:43:53 +0000</pubDate>
      <link>https://dev.to/josep_gisbertqueral_cd18/expandia-by-viladuo-md8</link>
      <guid>https://dev.to/josep_gisbertqueral_cd18/expandia-by-viladuo-md8</guid>
      <description>&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;For HackEPS, we built ExpandIA, a B2B Location Intelligence platform powered by Locatan data that helps businesses find the right spot to open a new physical location without paying thousands of euros for slow consulting reports.&lt;br&gt;
After logging in with Auth0 and picking your brand and sector, ExpandIA opens on a map of Catalonia showing competitor counts by county. Zooming into the 5 km or 1 km radius brings up a 0 to 100 viability heatmap. Competitors show up in orange and your own brand appears in green down to individual 3D buildings, while coastline masking cuts out rivers and the sea.&lt;br&gt;
Clicking any spot shows five sourced variables (income per capita, population, housing price per m², official MITECO flood risk, and OpenStreetMap competition) alongside our financial estimate for rent, revenue, ROI, and payback, with any fallback values flagged as Estimated. You can also ask our Gemini agent questions like "where should I open a gym in Barcelona?" to score the town and pin the top three spots on the mapa.&lt;br&gt;
We built the frontend with React 19, Vite, TypeScript, and Mapbox GL JS, paired with a Rust backend using Axum and Tokio. None of us had ever written Rust before this weekend, so building an async server with concurrent queues, JWT validation, and a geospatial scoring engine in 24 hours taught us a lot. We also learned how to keep map apps responsive over slow APIs using disk caching, progressive rendering, and a local Catalonia OpenStreetMap index when public Overpass servers timed out.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyf0vjl5es2iqiof3vbjf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyf0vjl5es2iqiof3vbjf.png" alt="Log in screen" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpw5xhqk2ut1ddk28kikh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpw5xhqk2ut1ddk28kikh.png" alt="Initial screen" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh3hbyq8vj6xqlbhzu4cg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh3hbyq8vj6xqlbhzu4cg.png" alt="Diagnosis from a chosen place" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fskehu8gmdavbwf7befdz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fskehu8gmdavbwf7befdz.png" alt="AI response" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4y0r59sgtudue16xmtv9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4y0r59sgtudue16xmtv9.png" alt="AI recommendation" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try the deployment (make up the email and password👀!) &lt;a href="https://expandia.rubenconf.dev/" rel="noopener noreferrer"&gt;https://expandia.rubenconf.dev/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And watch the brain-rot explanation &lt;a href="https://youtube.com/shorts/Mf201m1Sv2g?feature=share" rel="noopener noreferrer"&gt;https://youtube.com/shorts/Mf201m1Sv2g?feature=share&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Partner Technologies
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Google Gemini API&lt;/strong&gt;&lt;br&gt;
We called the Gemini REST API directly from Rust to power both our map-aware chatbot and our structured JSON advisor. To prevent hallucinated numbers, we added guardrails so Gemini only cites platform data, keeps ROI close to our base financial model, and never overrides our deterministic verdicts. Structured JSON schemas worked great, though we had to add fallbacks for 404 model errors on new keys and occasional 503 spikes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Auth0&lt;/strong&gt;&lt;br&gt;
We used Auth0 Universal Login in React and validated RS256 JWT tokens against JWKS on every protected Rust endpoint, scoping profiles and chat history to each user's sub claim. It was the smoothest integration of the weekend and worked reliably right away.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tiger Data&lt;/strong&gt;&lt;br&gt;
We stored per-user chat and advisor history in a compressed Tiger Data hypertable (PostgreSQL / TimescaleDB), with local .txt files as a fallback so demos never break if the database is unreachable. Having hypertable compression on top of standard SQL made setup quick.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ElevenLabs&lt;/strong&gt;&lt;br&gt;
We integrated ElevenLabs in both directions, using ElevenLabs Scribe so users can dictate questions and /api/tts to stream spoken audio briefings. Free-tier keys hit 402 errors on library voices, so we switched to a premade voice with an automatic fallback.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Entire&lt;/strong&gt;&lt;br&gt;
We versioned the whole codebase on Entire to coordinate parallel frontend and backend work cleanly across the weekend without merge headaches or leaked secrets. But had problems with the agentic help scince it needed billing and we couldn't solve the graph generation. &lt;/p&gt;

&lt;h2&gt;
  
  
  Hackathon Experience
&lt;/h2&gt;

&lt;p&gt;We built ExpandIA at HackEPS, surrounded by teams debugging late into the night and mentors helping us untangle API issues. Huge thanks to the organizers for putting together such a fun, well-run hackathon and keeping the energy high all weekend.&lt;/p&gt;

&lt;p&gt;What we will remember most is the moment our circular heatmap finally rendered cleanly underneath glowing 3D buildings after hours of fighting Rust's borrow checker, slow API batches, and an early bug where empty farmland kept scoring 100% because there were no competitors. Seeing real data from Locatan, MITECO, and OpenStreetMap finally click together made the whole sleepless weekend worth it.&lt;/p&gt;

</description>
      <category>mlhacks</category>
      <category>devchallenge</category>
      <category>hackathon</category>
      <category>hackeps26</category>
    </item>
  </channel>
</rss>
