joshvarun / WorldCuisines

World Cuisines is a project for Udacity's Full Stack Web Developer Nano degree.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

World Cuisines

World Cuisines is a project for Udacity's Full Stack Web Developer Nano degree.

This application provides a list of items within a variety of categories (Cuisines) as well as provide a user registration and authentication system. Registered users will have the ability to post, edit and delete their own items in the cuisines.

alt text

Getting Started

Prerequisites

  1. Vagrant
  2. Python
  3. VirtualBox
  4. SQLAlchemy

Installation & Setup

  1. Install Vagrant and VirtualBox
  2. Download or Clone fullstack-nanodegree-vm repository.
  3. Clone this repository into a directory
$ git clone https://github.com/joshvarun/WorldCuisines.git

Launching the Virtual Machine:

  1. Launch the Vagrant VM inside Vagrant sub-directory in the downloaded fullstack-nanodegree-vm repository using command:
$ vagrant up

Note: This might take some time depending on the speed of your internet connection. It downloads a linux vm from the internet. 2. Then Log into this using command:

$ vagrant ssh

Change directory /vagrant and look around with ls.

Setting up the database

The database in the repo is already populated with sample data. However, in case you need a fresh repository, please run

$ python database_setup.py

Running the project

Run the application.py file to setup the web-server on localhost:8000

$ python application.py

Google Client ID - client_secrets.json

To run this project, create a project on the Google Developer Console, & create an OAuth2.0 Credential for it.

Add authorized domains & redirect urls, download the json. Rename the downloaded json as client_secrets.json & place it in the same folder as application.py

Author

Credits

  1. Background Image, Cuisine & Item Images taken from Pexels.com

About

World Cuisines is a project for Udacity's Full Stack Web Developer Nano degree.


Languages

Language:HTML 38.5%Language:Python 32.8%Language:CSS 28.7%