A
A
Alexey Noir2019-11-14 09:27:56
API
Alexey Noir, 2019-11-14 09:27:56

Which sites don't need an API, and can I use more than one API in a portfolio project?

Hello!
Recently studied the topic about the API (I'm learning to program in React). I have 2 questions left, Google for some reason does not give out what I need.
1.What sites do not need an API? I assume that these are simple small sites without a database, like business card sites. Please clarify / refute and give examples.
2. Can I use more than one API in my front-end project (I want one for user registration and one for product listing so I can get my hands on it faster)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2019-11-14
@DarkNoir

There are a bunch of sites like wordpress, a bunch of MVC frameworks that don't use the API.
Although you are probably talking about the REST API and others?
REST API and SPA applications have one drawback. They tend to be poorly indexed. Therefore, many use server rendering, and use api to load data.
2. the use of 2 or more apis is not forbidden, the microservices architecture itself, this is the use of many independent apis.
Well, heaps. API - still stands for Application Programing Interface.
This is a contract describing the interaction of program parts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question