API/Admin Interface in same application

Lately I’m building a fair few APIs for mobile applications which also require admin interfaces for the end client to manage the data available in their mobile application.

I’m just wondering would it be considered best practice to build the API and Admin interface in the same web application, or would you build them separately?

I’ve recently built one separately, but I found having duplicate repositories and models a bit of a pain. However, having them separate I guess is better later as you can split the API itself over multiple servers while keeping the admin interface on it’s own server instance.

I’m just wondering what others do?

3 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.