Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi all, I’ve been using Strapi locally with Node.js and was getting along fine, so I decided to try going online using Digital Ocean. I can’t figure out what’s needed to get up and running. When using my local Strapi I simply set up the api using
const axCommInstance = axios.create({
baseURL:'http://localhost:1337/'
});
then to fetch the relevant content:
let response = axCommInstance.get('rfm-001-home-jumbo')
.then(function (response) {
console.log('Dumping Response Data');
setStrapiData(response.data);
})
.catch(function (error) {
console.log(error);
});
This returns the contents of the Single type which can then be displayed. I assumed that I would be able to do the same thing with the hosted Strapi by simply replacing the baseURL with the new one referring to the Digital Ocean host. If this is the case can someone please tell me where to find the url, and if not then what additional setup and coding steps are required in order to make the connection? Thanks very much in advance, Dan.
Mario Hennenberger
2b943a6c5830489f9a3a6e3ade857e
8c5b08bc277a4e1bbfbcdd305aa232
Kailey Ketchum
9c1989c1c80144c7a9977905ce64c9
a6309a057c3f4cb38fb2e7feb67236
a6309a057c3f4cb38fb2e7feb67236
9c1989c1c80144c7a9977905ce64c9
CometAPI001
Rafiq Mohammed shah
05f65dd4216b456c9c89745746f80e