Trying to set up Strapi - completely lost!

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({



then to fetch the relevant content:

let response = axCommInstance.get('rfm-001-home-jumbo') 
        .then(function (response) {
            console.log('Dumping Response Data');
        .catch(function (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.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi, Try to follow that step-by-step guide on how to deploy Strapi to Digital Ocean: