A
A
AlexandrMa2021-06-15 13:30:36
PHP
AlexandrMa, 2021-06-15 13:30:36

Is it possible to create a website with api?

We are planning to create one service. There will be a website and an app.

I think to create one API resource that would exchange json.
For example api.com/data.php

Mobile application pulls data via api. It's like a classic here.
But the site is going to the hosting, and the data itself is loaded using either CURL or javascript.

Is this generally done, is it normal practice, or is there a surprise waiting for me in the future?

PS I couldn't think of a good title

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2021-06-15
@AlexandrMa

If the site duplicates or extends the mobile application, then it will not be a surprise.
The only thing to think about is pre-rendering for search engine optimization

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question