This is server code for a RESTful web service created with Python and the Flask microframework. This web service used to sit on a digitalocean droplet.
- To Dooli: A to do list application. View Code
- After cloning this repo to your machine, cd into 'Experimental_Server'.
- Enter the command
vagrant up
. This command can take awhile to run. Ignore the errordefault: stdin: is not a tty
. - Enter the command
vagrant ssh
. - Once vagrant is up and running cd into '/vagrant'.
- Create the data tables using the
python database_setup.py
command. - (Optional) Then use the
python populate_database.py
command to add some filler data. - At this point, all the data should be setup. You can launch the application using the
python __init__.py
command. Just open up a browser and navigate to 'localhost:5000'.
- https://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask
- https://www.digitalocean.com/community/tutorials/how-to-create-your-first-digitalocean-droplet-virtual-server
- https://www.digitalocean.com/community/tutorials/how-to-deploy-a-flask-application-on-an-ubuntu-vps
Geordy Williams