I have a php web application that is written with traditional architecture with templating, controllers and ORM models.
I also have a nodejs JSON API web service that accepts incoming connections and responds with JSON responses
Both Services operate on the same database and provide similar functionality but they differ in the response type and different routes.
This introduces problems with keeping both services updated to the latest business requirements and discrepancies that occur between the services.
My question is what are my best options to keep both services in sync?