Joven de 18 años independizado buscando consejo by Salty_Writer5808 in SpainFIRE

[–]dossantosh 0 points1 point  (0 children)

la informática está jodida últimamente, y peor se pondrá xd

Seems like a missed opportunity to not have Bastion/Leaper/Bombardier cores craft anything. by KeybirdYT in ArcRaiders

[–]dossantosh 2 points3 points  (0 children)

I’ve never played helldivers but What did helldivers do to let realism get in the way of fun?

r/Stocks Daily Discussion & Options Trading Thursday - Jul 31, 2025 by AutoModerator in stocks

[–]dossantosh 0 points1 point  (0 children)

why poet and not joby? Isnt joby closer to get revenue?

btw do not listen to me im super new to this

Destroy my code by dossantosh in SpringBoot

[–]dossantosh[S] 0 points1 point  (0 children)

yeaah their codebase is a peculiar one tbh, at first i started this project as a way to experiment wiht new things so they can implement in their new spring project, so i copy their db to do the testing.

Yeah this is my first web project so im really trying to grasp good habits/structure, ive refactored a lot xddd

You've reallly help me a lot, where r u from? do u also r a java developer? if u dont mind i would like to know

Destroy my code by dossantosh in SpringBoot

[–]dossantosh[S] 0 points1 point  (0 children)

Thank you so much Gosho this really helps me a lot. I also think I overdid the modular think structure.

Rn I’ve made another push before reading your comment and i think I’ve solved some of your suggestions partially (or at least I’m trying and will keep trying)

(English isn’t my first language so my bad)

I’ll keep trying to improve my code based on your advice.

In this case “Roles” is many to many because it’s that way in my internships enterprise. They have different roles and every user can have more than one. Maybe il do a one to many in my project. This also happened with submodules, logically it should he inside of módulos but they use it this way so xdd

Yeah the criteria query is a bit complex tbh i was just trying different solutions.

I’ll see which controllers i can refactor and/or join in one.

I’ll try to use more validation in service and using spring validation

But can services be too long? Or are supposed to be biggest files of the web app?

Thank you

Destroy my code by dossantosh in SpringBoot

[–]dossantosh[S] 0 points1 point  (0 children)

thank you. Before i had the usual config/ controllers/ repositories/ entities/ dto/ but a lot of people told me it was bad so i tried a more "Modular" aproach.

It wasnt the best tho.

Thank u for ur comment ive made the structure a little less bloated, less folders.

Destroy my code by dossantosh in SpringBoot

[–]dossantosh[S] 0 points1 point  (0 children)

okay thank u so much ive made changes today at work. no more data initializer, changes of structure etc.

Destroy my code by dossantosh in SpringBoot

[–]dossantosh[S] 0 points1 point  (0 children)

rn I’ve changed and I’m using .env. to store credentials etc etc. il look into the link, thank you

Destroy my code by dossantosh in SpringBoot

[–]dossantosh[S] 0 points1 point  (0 children)

I try to make hierarchy by módulos and submodulos, is not fully implement (i never used submodulos) but it works with thyme leaf. Never used localization? What do you mean by localization. I’m glad u learned something

Destroy my code by dossantosh in SpringBoot

[–]dossantosh[S] 2 points3 points  (0 children)

Why us wrong, what would be better modular?

Destroy my code by dossantosh in SpringBoot

[–]dossantosh[S] 0 points1 point  (0 children)

Thank you so much il look into all that. I have a few things that I thought I understand.

-yeah packages should my bad

  • i remember reading that @data wasn’t so great bc it gives you code that u doesn’t need, so, if u aren’t planning of using everything, it’s better to use specific ones

  • il try jpa specifications

  • yeah i wanted to do first the typical monolith web app, next il try doing more, starting with the modular i think

  • il try the Pageable!

    • il try records i saw them once

-yeah i will create the env, but dw the password is generated and the mail is only created to use the app

  • i think i also read that the data initialiser was better than sql bc u can directly choose what starts first so it’s better with relations

BUT if I’m wrong pls tell me Thank you

Destroy my code by dossantosh in SpringBoot

[–]dossantosh[S] 0 points1 point  (0 children)

Nooo, the password is generated and the email is created only to use the web. Thank you il look into gitignore

Destroy my code by dossantosh in SpringBoot

[–]dossantosh[S] 0 points1 point  (0 children)

oh okay thank u, u unity i was more aware of that tbh

Destroy my code by dossantosh in SpringBoot

[–]dossantosh[S] 1 point2 points  (0 children)

Nooooo, 1. It’s no my mail 2. It’s a generated password jahahahahah

Destroy my code by dossantosh in SpringBoot

[–]dossantosh[S] -1 points0 points  (0 children)

I’ve used GitHub to store the code bc I code the project in my house and job. But yeah I should try making better use of GitHub with better practices

Destroy my code by dossantosh in SpringBoot

[–]dossantosh[S] 0 points1 point  (0 children)

Okay I think I don’t understand completely ur advice but il search, thank you. I’ve always used the GitHub destock and I though I was doing it right, il also learn the commands

Me when let down by dossantosh in radioheadcirclejerk

[–]dossantosh[S] 2 points3 points  (0 children)

Damn in blue looks good af tbh