Coder Social home page Coder Social logo

coronavirustunisie's Introduction

Full Stack Nanodegree Project: Item Catalog

What is this project ?

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.

A RESTful web application using the Python framework Flask along with implementing third-party OAuth authentication

Set Up Instructions

Follow these instructions to set up the Vagrant Linux Environment and the Item Catalog Project

Prerequisite Resources

You will need the following Python resources for it to run:

Python 2.7 or above (https://www.python.org/downloads/). Git (https://git-scm.com/downloads). Vagrant (https://www.vagrantup.com/). VirtualBox (https://www.virtualbox.org/wiki/Downloads). Sqlalchemy (https://www.sqlalchemy.org/download.html). You will need the following other resources for it to run:

Flask (http://flask.pocoo.org/). Httplib2 (https://pypi.python.org/pypi/httplib2/0.10.3). Oauth2client (https://pypi.python.org/pypi/oauth2client/). Web browser i.e. Chrome (https://www.google.com/chrome/)

Installation

Install Git (https://git-scm.com/downloads) on the local machine Install Python 2.7 or above (https://www.python.org/downloads/) on the local machine Install VirtualBox (https://www.virtualbox.org/wiki/Downloads) on the local machine Install Vagrant (https://www.vagrantup.com/) on the local machine

Preparing the Virtual Machine

Run the command 'vagrant up' to download and install the linux operating system. Run the command 'vagrant ssh' to log in to the virtual machine. Install Flask (http://flask.pocoo.org/) with pip install Flask, if it is not installed already. Install Sqlalchemy, Httplib2 and Oauth2client with sudo apt-get install, if they are not installed already.

Setup the Database

After the initial setup you can load the project files while connected to vagrant.

Navigate to cd project:

Run python database_setup.py Run your web browser.

Preparing the Project

In order to run the project you must have:

Run dbSetup.py with the python dbSetup.py command. Run the command python project.py in order to start the item-catalog. Navigate to http://localhost:5000 on your web browser for access. Useful Editors:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.