Automate Database and Web Service Creation Using Koyeb API with a Node.js Script

Hi,
I’m looking to automate the creation of a database and a web service using the Koyeb API with a Node.js script. Could you provide guidance or examples on how to achieve this? If anyone could provide a template script, it would be amazing Thanks in advance!