Implement RPC or gRPC for your Project Wise API's
Any solid RPC or Web API pattern would be amazing.
Encapsulation: RPC encapsulates the logic and data, reducing exposure to the underlying system.
Efficiency: It can be more efficient for certain operations, especially when performance is critical.
Granular Control: You can precisely control which functions are exposed and who can access them.
Security: RPC can be secured using various authentication and encryption methods to ensure safe communication and I'd go using Open ID Connect (OIDC).