ABADY1000 / item-catalog

UDACITY FSND Project2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FSND Item Catalog (Project2)

This project is example of routing through a web application and giving the authorized users the possibility to add, edit and delete restaurant and items

Getting Started

This web application is bult to show and modify database content, so it requires a data base first to work on.

this tool works only on FSND "restaurantmenu" database.

Prerequisites

You will need the following:

  • Virtual Machine softwere.
  • Vgrant with Ubuntu installed.

You can download VM from here
And you cand download Vagrant here

Inside your new environment Ubuntu you will need:

  • Python 3.6.
  • Flask (web framework).
  • sqlalchemy (SQL api).

Installing

After downloading this project add it tou your Vagrant files, run Vagrant

$ vagrant up

and then

$ vagrant ssh

Switch the path to the files you have just added and run it using Python 3.6

$ Python3 [your file name]

After you do so, run your browser and goto (localhost:8000/), you should be able to see the main page (Restaurant Page)

you are free now to brows the app

Code Styling

Pyhton code is wrtitten according to pep8

and the code is tested to be applicable for this styling method using the library pycodestyle

To run the test use

$ pycodestyle [your file name]

and there should be no output if your code is well styled.

Author

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Mashael ElSaeed - Course instructor

About

UDACITY FSND Project2


Languages

Language:Python 42.7%Language:Tcl 38.3%Language:HTML 14.3%Language:PowerShell 2.3%Language:Batchfile 2.2%Language:CSS 0.1%