K
K
komigor2021-07-11 08:05:20
Node.js
komigor, 2021-07-11 08:05:20

How to take out external api according to architectural rules?

Here I have an api, when called, to which some information is returned. And how can I make this logic architecturally correct? And where. Do this in services and in it make axios requests or create a folder in the project with in calls and name it like api. In general, tell me how to do external api in express.js

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question