Skip to content

Python(Flask) web application build with jQuery,Ajax. It has google oauth features

Notifications You must be signed in to change notification settings

anish8129/Item-Catalogue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Item Catalogue Project

This is a project for Udacity's Full Stack Web Developer Nanodegree

Project Description:

Your Task is to create a web application. Which has Login and logout feature. You should be able to create your Category and Items You should be able to Update and delete them. You should not be able to update and delete Other Items.

This Project Requires a Bit of Setup:

This project is run in a virutal machine created using Vagrant so there are a few steps to get set up:

Installing the dependencies and setting up the files:

  1. Install Vagrant
  2. Install VirtualBox
  3. Download the vagrant setup files from Udacity's Github These files configure the virtual machine and install all the tools needed to run this project.
  4. Download this project: [Item-Catalogue]
  5. Upzip as needed and copy all files into the vagrant directory into a folder called Item-Catalogue

Start the Virtual Machine:

  1. Open Terminal and navigate to the project folders we setup above.
  2. cd into the vagrant directory
  3. Run vagrant up to build the VM for the first time.
  4. Once it is built, run vagrant ssh to connect.
  5. cd into the correct project directory: cd /vagrant/Item-Catalogue

Run The Project Already!

  1. You should already have vagrant up and be connected to it.
  2. If you aren't already, cd into the correct project directory: cd /vagrant/Item-Catalogue
  3. Run python routes.py
  4. Open a Web browzer and open http://localhost:5000/ .It will load the web page

Expected Output:

  1. Show Categories button Will show the list of Categories If any. To create Category You should Login First.

  2. To Login, Click the Login Button..It will Open a Modal Window. Login With Facebook will not work (Facebook Oauth works for https only) just to beautify the modal window it is included. You Should do log in with google only.

  3. For succesfull login a flash message will show for 5 seconds and your profile pic and your email should show. Now you can create your own Categories.

  4. You can not edit or update categories if it is created by some one else.

  5. You can not update or delete your own items without loggin in.

  6. You can only see the Items and Categories by clicking on it, if not Logged in

  7. You will not able to see the update or delete links if you are not logged in as a user.

  8. For every action (create/Update/Delete/Login/Log Out) flash message will show for 5 seconds.

  9. Form Validation is implemented in Items/Categories creation.

  10. If you try to edit create or Update any items or categories through postman. you will get appropriate messages.

##Note: You should not refresh/reload the page if you are logged in. Next Time while loggin in You may have some issue. To log out through through postman call this api in postman (http://localhost:5000/gdisconnect)

About

Python(Flask) web application build with jQuery,Ajax. It has google oauth features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages