- Bhanu Singh
-
This is the fourth project for the Udacity Full Stack Nanodegree. The Item Catalog project consists of developing an application that provides a list of items within a variety of categories, as well as provide a user registration and authentication system. This project uses persistent data storage to create a RESTful web application that allows users to perform Create, Read, Update, and Delete operations.
-
A user does not need to be logged in in order to read the categories or items uploaded. However, users who created an item are the only users allowed to update or delete the item that they created.
-
This program uses third-party auth with Google or Facebook. Some of the technologies used to build this application include Flask, Bootsrap, Jinja2, and SQLite.
- Python
- HTML
- CSS
- Bootstrap
- Flask
- Jinja2
- SQLAchemy
- OAuth
- Facebook / Google Login
- Some things you might need
Install Vagrant and VirtualBox Clone the Vagrantfile from the Udacity Repo Clone this repo into the catlog/ directory found in the Vagrant directory Run vagrant up to run the virtual machine, then vagrant ssh to login to the VM from the main directory run sudo pip install -r requirements run application with python application.py from within its directory go to http://localhost/categories to access the application
- if first time running, you must add a category before adding an item
- Subkime Text
- Python3
- Vagrant
- VirtualBox
- Setup all these
- Install Vagrant,VirtualBox,Sublime Text and Python3 or 2.7' in to Machine
- To Run
- Launch Vagrant VM by running vagrant up, you can the log in with vagrant ssh
- You can run Putty on windows in order run vagrant file. Click Here
- To execute the program, run python3 or python2.7 application.py from the command line useing Vagrent Terminal.
- Launch the Vagrant VM using command:
$ vagrant up
- Run your application within the VM
$ python /vagrant/fn/application.py
- Access and test your application by visiting http://localhost:5000.