D
D
Dmitry Volokitin2021-05-03 11:42:23
Java
Dmitry Volokitin, 2021-05-03 11:42:23

How to implement front on Rest api?

Friends, we all know how to work with tymeleaf and mustache. But when I wrote the rest of the application, implementing the service, dto and controllers, I got into a stupor. The rest returns to the client the DTO in json format. But how then to wrap jecson in some kind of template engine? How to assign a key-value (if it needs to be done at all)? How to do it right according to generally accepted standards?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Roo, 2021-05-03
@xez

Now it is customary to write SPA for this using any JS framework (any of Angular / React / Vue)

O
Orkhan, 2021-05-03
Hasanly @azerphoenix

As a colleague noted, this is done through the js framework. If you want to learn a js framework, then a simple framework is VueJS. You can start with it. Well, of course, knowledge of JavaScript or TypeScript is a must.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question