galdino
JCHJava Community | Help. Code. Learn.
•Created by userexit on 10/28/2024 in #java-help
Enable live reload with Spring Boot devtools
What IDE are you using?
7 replies
JCHJava Community | Help. Code. Learn.
•Created by BigWiz on 10/22/2024 in #java-help
Help regarding auto seeding of db tables from the auto generated schema
Have you ever heard about Flyway?
It has a "concept" called afterMigrate.
This could help you with that...
Here's an example:
https://github.com/galdino/ufood-api/blob/main/src/main/resources/db/testdata/afterMigrate.sql
8 replies
JCHJava Community | Help. Code. Learn.
•Created by Fish on 10/10/2024 in #java-help
spring course
You should try it:
https://spring.academy/guides
6 replies
JCHJava Community | Help. Code. Learn.
•Created by ナルト on 10/4/2024 in #java-help
Help for revisiting Java
6 replies
JCHJava Community | Help. Code. Learn.
•Created by PleaseBugMeNot | Engineer on 9/23/2024 in #java-help
How to secure apis using JWT in Spring Boot?
I disagree, bro...
The loooooong steps you wrote seems like a "specification document of something".
So boring for those making "simple RESTful web services".
15 replies
JCHJava Community | Help. Code. Learn.
•Created by PleaseBugMeNot | Engineer on 9/23/2024 in #java-help
How to secure apis using JWT in Spring Boot?
Come on, bro...
We should start from somewhere, right?
You are over engineering the "learning of things".
They said "I'm making simple RESTful Web Service"...
Simple, right?
Everything you said seems like they are going to implement the Google's service login.
They could learn some concepts in the above project.
After that, they could improve their security layer.
Baby steps, dude...
Baby steps.
15 replies
JCHJava Community | Help. Code. Learn.
•Created by PleaseBugMeNot | Engineer on 9/23/2024 in #java-help
How to secure apis using JWT in Spring Boot?
15 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 9/12/2024 in #java-help
what data type to use for storing ids?
Why?
I mean, in the REST API scenario, I had a headache using primitives as method parameters.
Using long, showed up a error. On the other hand, using Long, it worked smoothly.
12 replies
JCHJava Community | Help. Code. Learn.
•Created by bambyzas on 9/12/2024 in #java-help
what data type to use for storing ids?
I suggest you use Long(Wrapper) instead of long(primitive) as well.
It will save you headaches in the future.
12 replies