Russian  English  All projects

Modify the module on Laravel jquery (vue)



Hello, there is a module on Laravel that parses csv files of phone codes and enters them in the desired form in Mysql. This module needs to be improved.

There is a list of locations in the mysql table, presented in the form of the paths of Dorogobuzh|r-n Dorogobuzhsky|Smolensk region. A script is run in the console that determines what kind of location it is and binds the corresponding location_id to it. Moreover, in order for this location to be determined, it is necessary to initially determine each of the sublocations, i.e. first binds the location_id to the Smolensk region, then to the Dorogobuzhsky district and then to the city of Dorogobuzh. Sometimes the script can not determine some locations and then you need to manually select (there is a corresponding page with lost locations that need to be assigned correspondences).

The problem is that until the script determines the lost sublocation of the previous level, the location of the next one will not be able to be determined, so you must first manually bind the undecided location of the highest level, then run the script again, if automatically the location cannot bind again, then bind again and run the script again until all the locations are found.

In general, we need to improve the page with lost locations. So that when we establish a match for a lost location, all the other paths-locations on this page, which also contain this location, are processed, and updated. That is, a script is launched, which again tries to process undecided locations and those that were determined disappear. There are only those who have not decided this time. On the side of the backend, you also need to work.

The page currently uses jquery, but I dont mind using both jquery and vue. The only thing is, if you use vue, I dont know if they will work together with jquery or if you need to rewrite everything on vue.

The script that binds is on the backend.
Everything is on the server in docker. I will give access to the server via ssh.

It will be great if you can quickly understand someone elses code on laravel. If there are any ideas on how to simplify everything, I will be happy to listen.
18.01.2023 17:09



 Answers freelancers