U
U
UNy2018-04-16 23:25:28
Node.js
UNy, 2018-04-16 23:25:28

How to connect front and back?

How to connect front to back? I have a simple express server that creates routes. How to execute react code on some route? Should this route be an html file? my routes are views from the handlebars template.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dfv123, 2018-04-16
@UNy

On the client, you make a request to the server API, where it is determined which route and what data to send / receive. json exchange.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question