L
L
Leesandra2016-04-22 13:13:39
JavaScript
Leesandra, 2016-04-22 13:13:39

What is the mechanism of interaction between backend and frontend developers using node.js as an example?

When using angular on the front and nodejs on the back, developers use the wiki to describe the json. Those. the mechanism of operation is quite simple, and the front and back are specifically separated.
And how does the interaction happen if the use of js frameworks on the front is not advisable? If, say, the front will use the jade template engine? Perhaps in this case, everything for the frontend should be described in the wiki by the backend? But I think it's too long. Can you please tell me how it should be?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alex, 2016-04-22
@Leesandra

pug (jade) does not interfere with the use of the framework.
for REST, the model is described along with its creation, for example , swagger.io
And in GraphQL, there is a field for description right in the model, and the documentation is auto-generated.

D
Dmitry Belyaev, 2016-04-22
@bingo347

As is customary in the team, it’s right, if it’s customary to describe the format of communication between the client and the server in a wiki, then it means to describe

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question