D
D
Dmitry I2018-09-12 19:51:56
CMS
Dmitry I, 2018-09-12 19:51:56

Javascript frameworks/engines for building a site that runs in the client's browser?

I apologize for the rambling title. I did not know how to formulate correctly, so that it was immediately clear.
I have a task to create a "website" that should work in the user's browser.
The principle of operation is sending / receiving requests and responses to / from the REST API of a specific site, followed by data visualization to the user.
That is, the user enters, say, localhost/index.html (to which jquery, scripts for communicating with the API, etc. are connected), gets to the login page. Enters data, presses Sign in, AJAX sends data to the server, the server sends a response in json (user profile). The script processes the response, "pulls" the data onto the template, and displays the template with the required data to the user, while hiding the login form.
This is approximately the whole principle of operation, the server part is needed only to access html-cams, css, js.
Question: What can help in the realization of this plan? Are there ready-made Javascript frameworks, "cms"?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
abbaboka, 2018-09-12
@abbaboka

It is not clear from the description - either you meant SPA
or (if offline work is important) you meant Progressive Web App https://habr.com/post/303626/

A
Aleksandr, 2018-09-12
@alexgearbox

Maybe not, but it looks like - MDwiki .

G
Geralex, 2018-09-13
@Alexangeras

gatsbyjs written in React

I
Interface, 2018-09-13
@Interface

Essentially, all you need to do is write a SPA (as already mentioned above), because you can't have server-side templating. To do this, you can use any tool you like.
In this case, your application (SPA) will go to the API of a third-party service (which should support this).
In short, you need the most common SPA, only it will have the peculiarity that the server giving statics and the API server will be different. Which won't cause you any problems if the API server supports it. If you have any questions - most likely they are either about writing a SPA, or about AJAX & CORS etc. But this is no longer some unique problem and it's all googled

M
marsdenden, 2018-09-13
@marsdenden

I am using vue.js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question