there is a number of ways, but to make it easy for you, try to do http request from the client to the database api server where you fetch data as a json for example, there you go and can do treat the API one as a standalone API.
Oct 28, 2021
4
Level 1
Is there an example for a Laravel API using Laravel as back-end and front-end?
I'm looking for a way to connect Laravel to another Laravel server. One server functions as a database (API) and the other uses the API to access the database. I have no idea how to connect them. I'm still looking for a good example or tutorial.
Please or to participate in this conversation.