Skip to content

Udacity Back-End Developer Nanodegree Program! Servers, Authorization, and API - Developing with frameworks exercises!

Notifications You must be signed in to change notification settings

GiuseppeVarriale/udacity-lesson3-learning-frameworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restaurant list and menus

Overview

This was made to start learn delveloping with frameworks on Back-end developer Udacity nanodegree In this exercises, i made a web app to list names of restaurants and the specific menu from each restaurant using a real database and tables

Setup Project

Install VirtualBox and Vagrant:

  1. Download Virtualbox Here

  2. Download Vagrant Here

  3. If you is a back-end developer nanodegree student, you can Download the Vagrant File with the configurations in This Link
    If not Download or Clone this repository

  4. Download the content of this current repository, by either downloading or cloning it from Here, you will need this files to run the project on next steps!

Launching the Virtual Machine

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

    $ vagrant up

  2. Then Log into this using command:

    $ vagrant ssh

  3. Change directory to /vagrant and look around with ls.

  4. Copy the content downloaded before from my Repository and paste in this folder!

Setting up database

  1. In the virtual machine run the database_setup.py

    $ python3 database_setup.py

  2. Populate the database running lotofmenus.py

    $ python3 lotofmenus.py

Running the the program

  • From the vagrant directory inside the virtual machine, run the file project.py using:

    $ python3 project.py

About

Udacity Back-End Developer Nanodegree Program! Servers, Authorization, and API - Developing with frameworks exercises!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published