Estos últimos meses he estado trabajando en una empresa de visas norteamericanas en la cual tuvimos que volver a desarrollar la página web desde cero porque era un desastre y funcionaba muy mal ni hablar de la falla de seguridad increíbles que encontré.
Por suerte en esta nueva versión corregimos prácticamente todo se asignaron roles a los usuarios se corroboró registros se pudo crear un panel de admin en el cual el jefe está bastante contento con el diseño y tranquilamente se le pueden agregar algunas cosas.
These past few months I've been working at a US visa company where we had to completely rebuild the website from scratch because it was a disaster and functioned terribly, not to mention the incredible security flaws I found.![ez1.jpg](Luckily, in this new version we fixed practically everything, assigned user roles, verified registrations, and created an admin panel whose design the boss is quite happy with, and we can easily add some features to it.
It's important to note that the product we're developing isn't 100% finished, but it offers the minimum necessary for users to interact with professionals and vice versa. This website was developed using Next.js and Firebase, which means almost all the development is client-side—I'm referring to the frontend. In the early stages of development, my primary concern was organizing the database as effectively as possible in terms of structure and data hierarchy to simplify handling sensitive user data.![ez2.jpg](
Initially, this proved quite fruitful until we encountered specific user needs or requests from management to integrate certain functionalities. Every developer knows that when choosing a data structure, it's sometimes better to leave gaps for future features, but you can't expect the change to be so abrupt and adapt it in just a couple of days.![ez3.jpg](
In short, I've listed many things to correct, some difficult problems and some simple ones. It had to involve integrating technologies like those offered by Google and resorting to artificial intelligence, which I deeply regret because it created a disastrous code that's impossible for a human to understand.![ez4.jpg](
Regarding the last point of the guide, it's worth noting its poor design and numerous code comments. For example, instead of using a text string to handle a numerical value representing a product's price, it adds an input field with the "number" type, which is absurd because it allows you to enter negative numbers simply by clicking on the right side. My point is that human judgment is always superior to artificial intelligence because we see the bigger picture and are better at handling complexity than a simple prompt that only produces a pretty but ultimately useless result.