Im new to RESTful API's and would like to find some info out.
Currently we run a daily digest of eHealth material for the public to read and get up to date content regarding that topic. Which is powered by Laravel 5.2 and a MySQL Database.
We have a linux based server which is hosted with an ISP currently runs 8GB Ram, Core i7 processor.
My boss has suggested we start using API's as the middleman between our apps as we have moved over to mobile and our readership is growing as we now support users which have access to a wide variety of functions.
My question is: Is it smart to run your web application and API on the same server. I suggested renting another server, moving our database across to it and then building the API to sit there and serve content. However my boss has advised that another server is out of question due to cost implications.
My thoughts as a developer is why build an API on the same server if the Web App is already connecting via the same server to the DB and querying the content. It just seems like additional work.
Any thoughts would be great.