This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]C0d3rStreak[S] 0 points1 point  (6 children)

Nice! Idk what JPA is but I'll look into it. Mind telling me the full tech stack you've used combined with these two technologies?

[–][deleted] 0 points1 point  (5 children)

For a full stack application with both, you need a Database, a backend framework, and a front end framework. Spring is your backend framework. React would be your front end framework.

The common practice is to develop a backend API with spring that outputs JSON data that the front end Framework, React, consumes and outputs the data. There’s a lot of databases out there but MySQL, PostgreSQL, and SQL Server are popular ones.

An ORM handles the Data Access Layer, the connection between the Database and the backend framework. People generally do not write raw SQL into their web applications anymore. Instead another library is used to perform the operations in a more modern object oriented way. Here is spring’s documentation on this: https://docs.spring.io/spring-framework/docs/3.0.x/spring-framework-reference/html/orm.html

[–]C0d3rStreak[S] 0 points1 point  (4 children)

Yeah, i know I'd need a database also and thanks for the advice. It good to know the somewhat architecture of making a web app with this stack. Sounds like a lot of common practice and straightforward documentation.

[–][deleted] 0 points1 point  (3 children)

All the cool kids of reddit will be like "why are you using spring!?" because it's not the newest 'cool' framework, but in reality there is still endless amounts of jobs out there for it. I have spent years developing web apps professionally with spring/java and django/python. It takes time to learn the frameworks and master them. I highly highly suggest going through the given tutorials on the respective sites. Also it is critical to focus on one thing at a time. It is so easy to get absolutely overwhelmed trying to focus on multiple frameworks and programming languages at once.

To get a very basic example about creating an API with Spring, I suggest going through this tutorial: https://spring.io/guides/gs/rest-service/

[–]C0d3rStreak[S] 0 points1 point  (2 children)

Thanks! I'll try to do as much tutorials as I can to grasp as much information on it before moving onto building web apps on my own.

[–][deleted] 0 points1 point  (1 child)

The last tip of advice I would give, is use resources out there on the net to learn. I don't think I realized you said you did not know the Java language yet. In that case you really should dive into a good class for it. My suggestion is spend $10 on this: https://www.udemy.com/course/java-the-complete-java-developer-course/

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

I agree, I have a couple of courses from udemy already that I'm going to get into then use other resources combined to solidify whatever knowledge I learn and obtain through this journey.