Urgent.News

What's breaking now, across thousands of outlets.

Tech

Renovating a vibe-coded app: readable code, no reasoning behind it

A client had been building an education platform in Lovable for months. Too many issues piled up, so they brought in devs. I got assigned to it. The job was to turn a vibecoded app into something production ready. First time I'd worked on a fully vibecoded app. First thing I did after getting access and exporting the code was try to run it locally. React/Vite frontend, Supabase backend. Quick…

A client requested a local education platform to be renovated from a vibecoded app into a production-ready application. The task required the reporter to turn the existing code into a functional and secure platform. Upon receiving access to the code, the reporter attempted to run the application locally, discovering 132 migration files.

After a quick audit, the reporter set up a fresh Supabase project and ran the code, encountering 319 issues in total, 29 of which were critical. The reporter identified security concerns, such as the possibility of a student becoming an administrator. A more significant issue arose when the reporter discovered four separate engines responsible for calculating a student's daily score, which was the product's primary feature.

Two of these engines applied different weights to sub-scores, resulting in varying grades for the same student depending on which engine ran last. All four engines wrote to the same field, causing inconsistencies. The reporter conveyed the issue to the client as a product question, emphasizing that no clear indication was provided in the code or communication about which engine should be considered the definitive one.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Most of the Questions Will Not Be About Code

If you mentor anyone for longer than a few months, the subject will drift. You start out talking about testing strategy and pull requests, and one Tuesday they ask whether they should take a job in…

  • Conversations shift from technical to broader questions
  • Mentors must avoid overreaching with unsolicited advice
  • Confidentiality is crucial when discussing personal matters

The Env Catalog Is a Repository Artifact

59 variables, generated not written - and drift fails the build. 👋 I'm Anton - a software engineer working mostly in PHP/Symfony and Go, currently carving a live PHP monolith into Go services.

  • The Env Catalog is a generated file in PHP/Symfony and Go services.
  • It lists all environment variables, sourced from platform or service config.
  • The catalog ensures code and config alignment, failing build on mismatches.

Building MyZubster: Turning a Marketplace Demo Into a Real Product Experience

Building MyZubster: Turning a Marketplace Demo Into a Real Product Experience Over the last few development sessions, I’ve been working on a major evolution of MyZubster, especially around the…

  • Marketplace demo expanded to 12 categories
  • Added category, location, payment-type filtering
  • Introduced category-specific semantics for diverse interactions

The Meter Is Running on Every Request

The demo cost four pence. You ran it thirty times while building it, glanced at the total, and stopped thinking about it, because four pence is not a number anybody worries about.

  • Costs multiply with each request, unnoticed until significant
  • Set per-user limits to control expenses
  • Optimize high-cost queries and cache repeated requests

More from Sunday 13 September →