is it accepted to use NodeJs Proxy to connect directly to backend database

we have a use case where we need to develop new backend service, based on SQL database,

and we do not have the option of creating services on database ,

so we are considering using NodeJs proxy and connect directly to the database

can we install needed drivers, and use nodeJs to connect to DB direvtly?

0 1 58
1 REPLY 1

Yes, you can. Use Hosted Targets.

Most architects in larger organizations want to build services implementations independently of the API Management layer. Which means you would use Google App Engine or something similar to host your nodejs code (or Java, or go, or C#, etc). This gives you control over the hosting, and ability to track logs and scaleout and so on. But in smaller companies, or for smaller projects, this separation may not be strictly necessary. This is where Hosted Targets shines.