An application that provides a list of items within a variety of categories as well as provide a user registration and authentication system. Registered users will have the ability to post, edit and delete their own items.
Modern web applications perform a variety of functions and provide amazing features and utilities to their users. But deep down, it’s really all just CRUD creating, reading, updating and deleting data. In this project, I am combining knowledge of building dynamic websites with persistent data storage to create a web application that provides a compelling service to the users.
I have learned to develop a RESTful web application using the Python framework Flask along with implementing third-party OAuth authentication. I have also learned when to properly use the various available HTTP methods and how these methods relate to CRUD (create, read, update and delete) operations.
- Install Vagrant and VirtualBox.
- Download or Clone fullstack-nanodegree-vm repository, which contains virtual machine configuration files.
- Find the catalog folder in the repository downloaded in step 2 and replace it with the content of this repository, by either downloading or cloning it.
- Go to vagrant directory and launch the Vagrant VM using command:
$ vagrant up
- SSH into the running machine:
$ vagrant ssh
- Run your application
$ python /vagrant/catalog/application.py
- Access and test your application by visiting http://localhost:5000.
Hat tip to Udacity's Full Stack Web development team and to anybody who helped me. 👏👏👏