Skip to content

rupert-ong/python-flask-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Flask CRUD Application

Python Flask CRUD Application is a persistent Python based CRUD application using the Flask framework. This project is written in Python, SQLAlchemy and SQLite.

This side project can be found in the Fullstack Foundations course at Udacity, under "Developing with Frameworks"

Table of contents

Quick start

Here's what you need to do to view this project:

  1. Install Vagrant and VirtualBox.
  2. Within Terminal (Mac), navigate to the root directory of this project and launch the Vagrant VM by running the command vagrant up.
  3. SSH into the running Vagrant machine vagrant ssh.
  4. Run cd/vagrant/catalog to change directory.
  5. Run python database_setup.py to create the database.
  6. Run python menu_populator.py to populate it.
  7. Finally, run python project.py to start the web server.
  8. Open your browser and navigate to http://localhost:5000

What's included

Within the downloaded files, this is the relevant structure:

python-web-server-crud/
├── Vagrantfile
└── pg_config.sh
    └── catalog/
        └── static
            └── styles.css
        └── templates
            ├── deletemenuitem.html
            ├── deleterestaurant.html
            ├── editmenuitem.html
            ├── editrestaurant.html
            ├── menu.html
            ├── newmenuitem.html
            ├── newrestaurant.html
            └── restaurants.html
        ├── database_setup.py
        ├── menu_populator.py
        └── project.py

Contributors

Rupert Ong

Copyright and license

Code and documentation copyright 2011-2016 Udacity Inc. All rights reserved.

About

Persistent CRUD application in Python using Flask.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published