Selective deployment of API services

I’m looking for guidance to achieve a selective deployment of individual API services.
Today, I’m using the JS SDK with command npm run deploy to deploy my project containing all my backend services. Deployment times are rather long.
Is there a way to deploy one service selectively? I know that there are “models”, so I could have multiple projects deployed to different models. However, how would I achieve reuse of common libs between services (e.g. libs contained in the node_modules folder).
Any recommendations of how to achieve a selective deployment of individual API services?

Regards,

Hello @Klaas_Klever

You can split your service into several others. That way there will be several models and only 1 specific model will change when you deploy it.
Take a look at this documentation. It may be helpful.
https://backendless.com/docs/bl-js/bl_about_deployment_models.html

In addition, you can use this functionality to deploy the created logic to an existing service. (available in Codeless)

Regards,
Inna

Thanks Inna,
I didn’t get the last point fully. Does this mean the methods become deployed to another service, so that the methods get added to this other service?
Regards,

For example, you have two services: service1 and service2. You can deploy individual methods from service1 to service2 using this functionality. But it is available only if you are using Codeless.

Regards,
Inna

Got it. Thanks