r/javahelp • • Sep 13 '22

Codeless Do I need to know HTML,CSS and Javascript to make springboot projects.

I am interested in becoming a backend developer and was wondering how much if any html, css and JavaScript I need to know in order to make projects?

17 Upvotes

15 comments sorted by

•

u/AutoModerator Sep 13 '22

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions

  • You include any and all error messages in full

  • You ask clear questions

  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

    Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://imgur.com/a/fgoFFis) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

8

u/chanchanism11 Intermediate Brewer Sep 13 '22

HTML, CSS and JS are mainly used on the front end side. You can still make a springboot project without the frontend, it will mainly be REST APIs though. But you can still interact with it using api testing tools such as Postman, Swagger, etc.

1

u/[deleted] Sep 13 '22

I want to make complex on my own . Something that a single person can make without anyone's help.

4

u/chanchanism11 Intermediate Brewer Sep 13 '22

It depends, if you want a fully working application with a UI for the user to interact with, you'll need HTML, CSS and JS and possibly more than that since modern applications uses frameworks to render the frontend side such as ReactJS, VueJS, etc.

You can also build complex backend applications that doesn't have a frontend. You'll mainly focus on storing retrieving and processing data. But yeah, it's still better if you have some basic knowledge on the frontend side so you can design your REST APIs better.

4

u/DecisionFuture2088 Sep 13 '22

For backend: No

For Frontend: it depends 😅

There are pretty good frameworks which enables you to make a pretty Frontend without knowing anything about html, css, Javascript and so on. So if you plan to make a Frontend without dealing with the languages have a look at those frameworks...I would recommend vaadin

But as the others mentioned for a plain backend spring boot project you don't need any of this Frontend related stuff.

2

u/[deleted] Sep 13 '22

What if I want to create complex projects that I want to put on my resume.

2

u/[deleted] Sep 13 '22

I want backend spring boot projects only

1

u/loomynartylenny half-decent at Java Sep 14 '22 edited Sep 14 '22

I want backend spring boot projects only

that I want to put on my resume.

I would suggest, at minimum, trying to find some sort of template frontend thing for your project.

Of course, your focus is clearly on the backend (and using some sort of premade template for a frontend would mean you won't need to waste as much time on the frontend malarkey), but having some sort of frontend could be very useful for 'HEY LOOK AT THIS THING I DID!' purposes.

After all, how else can one show off that their backend works to someone who probably doesn't have the time to expend trying to work out how to use it manually?

2

u/DecisionFuture2088 Sep 13 '22

Still the same...you can make a pretty complex backend only project

And if you want to have a Frontend you have to decide how you want to build it and what language/framework you want to use.

For example If you want to build an Angular Frontend which is connected to your spring boot backend, you need some at least basic knowledge about html, css and typescript. If you build this Frontend with vaadin or as an old school eclipseRCP-Client you don't need html and css

3

u/eeksski Sep 14 '22

“it depends” for frontend? literally no competent person would hire a frontend dev if they don’t know HTML, CSS, and JS. you can’t even call yourself one at that point.

4

u/DecisionFuture2088 Sep 14 '22

That was not the question. Of course you need to know this 3 languages if you want to get hired as a Frontend dev.

But OP didn't ask for what to know to get hired but if it's possible to make a project without knowing this 3. And that's depends on if the project has an Frontend and which technology is used for the Frontend

6

u/RushTfe Sep 13 '22

Not necessary at all BUT.

Some basic knowledge of how front end works will help A LOT.

You will be able to do better backend if you have some experience in front. You don't need to be a senior developer in angular or react, but at least be able to create forms and basic Web with html and bootstrap is really easy and will help you test your backend in a "real" environment.

Not everything is black and white, and if you end working as a backend programmer chances are that you'll end up touching some front end stuff.

In my case I learnt pure backend, and as I started to work needed to learn html and css. Changed company and still need it.

I've learnt a lot of front after almost 4 years working, and I work mainly in back so, don't close doors you may need opened.

5

u/tcloetingh Sep 13 '22

If you're building a REST API that returns JSON... no. If you plan to use the Thymeleaf template engine / return html server rendered pages, then yes.

4

u/alphaBEE_1 Sep 13 '22

You can pick up HTML, CSS in a day or two. Honestly just get started after two days of learning the basics. You don't need to knwo everything as you mostly be googling whatever you need on the way. As for JS, it might take more than 2 days.

4

u/eeksski Sep 14 '22

you’ll be a hell of a lot better of one if you do. but it’s not necessary