Question

Need advice on creating a web app using scraped XML data

Posted June 30, 2020 97 views
Angular

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.

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.

×
1 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

by Justin Ellingwood
When you first create a new Ubuntu 18.04 server, there are a few configuration steps that you should take early on as part of the basic setup. This will increase the security and usability of your server and will give you a solid foundation for subsequent...
Submit an Answer