Question

Need advice on creating a web app using scraped XML data

Hello,

I am a student new to development and am building a web app that will serve up collected research data to a dashboard (thinking bootstrap or angular). We have scraped this data in XML form (although JSON is also an option). Is this possible to do with digitalocean? If so do I need a droplet to host the app and a database?

The information will be updated periodically and is mainly quantitative and organized in tables. Originally I was planning on parsing it with python before feeding it to a PostgreSQL database that would be referenced by the bootstrap/angular front end using PHP although I don’t know if that is best practice. Any advice would be appreciated.


Submit an answer
Answer a question...

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.

Bobby Iliev
Site Moderator
Site Moderator badge
July 2, 2020
Accepted Answer

Hi there @waakeem,

Yes hosting this on a Droplet would not be a problem at all. Here are some step by step tutorials which would help you along the way:

  • You can take a look at the documentation here on how to get started with your first Droplet:

https://www.digitalocean.com/docs/droplets/how-to/create/

  • Then once you have your Droplet you could do the recommended initial setup as described here:

https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-18-04

  • After here is a tutorial on how to install PostgreSQL:

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-18-04

  • Also you mentioned Python, so here is a tutorial on how to install it on your Droplet:

https://www.digitalocean.com/community/tutorials/how-to-install-python-3-and-set-up-a-programming-environment-on-an-ubuntu-20-04-server

Hope that this helps! Regards, Bobby