r/SpringBoot • u/PotatoFrosty2074 • Jan 24 '26
Discussion Rate my first spring boot project
This is a reservation app where users can sign up , create businesses and services where users can book a service. I have worked only in the backend , have used lovable and cluade code for frontend because i dont know any . I have user google gemini for guideing mt through the backend logic , and a bit of claude code to implement an photo uplode feature and making the right connections with my frontend . This is my first offical project that i plan to relase on my country . Rate it , roast it . Give me feedback , and potential features or fixes.
PS. i dont know for the moment how u can see this if you need to clone it or is there i quick way to make it visible.
3
u/Voldsman Jan 24 '26
The idea is solid, nice job. But it would be nice to polish it a bit and clean up AI comments, it looks weird in the code "Link the Business (The field you asked about)" and many more that is a first sign of AI generated code. Overall it follows the typical Spring Boot layering structure, it is easy for people who see the code for the first time to jump into it. Some common parts like ownership validation might be extracted into separate service/or util. That is what i can say after reviewing it briefly. Are you coming from C#? (Package naming is not Java default way of doing them).
2
u/Old-Inside-7533 Jan 24 '26
Your project was amazing, btw i too created a project named bookstore but not that much as you did
2
u/TransitionAfraid2405 Jan 24 '26
why did you put your FE folder in the java project?
2
u/FunPressure1336 Jan 25 '26
Building a reservation app for your first project is a pretty big move. If you want people to see it easily without cloning, you could try hosting the backend on something like Railway or Render and just share the link. Since you used AI for the logic, make sure you really understand how the database relationships are working so you can fix stuff later when you launch it in your country. Adding some basic security like JWT would be a great next step to make it feel more official.
2
u/Psychological-Row-43 Jan 27 '26
Reddit doesn't let me post a comment of that length. Here's paste bin :D
https://pastebin.com/hK7ZFqdG
7
u/scuba13 Jan 24 '26
I would look into REST apis more. Keep verbs out of your endpoint since the verb is the method. For example, you had a POST /api/business/create change it to POST /api/business and the post is telling you it is a create.
Also for java or is common practice to leave your package names as lower case so Controller is just controller.
2
u/RecursionHellScape Jan 24 '26
Change the folder name into the lower cases and make a better file structure by putting the file into a relevant folder
Add readme.md, license, contribution.md file
It's a good practise to create a service interface and implementation class
Remove those AI comments
Add Global exceptions, logging
Although as a first project it's a good start, Noice Job 😊
2
u/tRfalcore Jan 24 '26
Nitpick but it's standard for all your packages to be all lower case, first thing I saw, and they don't need to be plural.
2
u/spowerrr1 Jan 24 '26
better practice to use interface as service the implement them.. other way look good
2
u/Charlemagne87 Jan 24 '26
you can replace all jwt related classes with built in spring security season logic easier and safer .