Code Monkey home page Code Monkey logo

fsnd_p3_travel_catalog's Introduction

Travel Catalog

This is a travel catalog web App powered by Flask framework.

This app allows authenticated user to create their favorite destinations.

This web App display travel spots categorized by region.

This is developed with Top-Down method referencing Udacity FullStack Foundations (https://www.udacity.com/course/viewer#!/c-ud088-nd)

Environment

  • OS: win7 x64
  • python modules
    • python 2.7.6
    • Flask (0.9)
    • httplib2 (0.9.2)
    • oauth2client (1.5.2)
    • requests (2.2.1)
    • SQLAlchemy (0.8.4)

How to Run

  • Configure VM

    • Install VirtualBox
    • Install Vagrant
  • Launch VM

    • clone this project
    • open bash under project root folder
    • $ vagrant up #boot vm
    • $ vagrant ssh #login vm
  • Run server in vagrant ssh terminal

vagrant@vagrant-ubuntu-trusty-32:~$ cd ../../vagrant/
vagrant@vagrant-ubuntu-trusty-32:~$python catalog_server.py
* Running on http://0.0.0.0:5000/
* Restarting with reloader
  • Browse Webpage by entering http://127.0.0.1:5000 in browser

  • Logout ssh, Shutdown VM

    • vagrant@vagrant-ubuntu-trusty-32:~$ exit # logout ssh
    • $ vagrant halt

Notes: Milestones of this project

  • ckecklist (Top-Down Approach, Front-End to Back-End):
    • Mock-up: design mock-up and url format for each pages
      • goal: sharable
    • Routing: Flask code to achieve url routing (even page is no content )
      • goal: correct routing functionality
    • Template, Forms: import HTML template
      • goal: correct template display
    • CRUD functionality: implement CRUD operation
      • goal: correct CRUD Operation
    • API Endpoint: API functionality
      • goal: pass client request test
    • Styling, Message Flashing: add css,js,message flashing
      • goal: polished page style and message flashing
    • OAuth Implementation
      • user login, logout from 3rd party OAuth server
      • protect create/edit/delete permission from visitor
    • Local Permission System
      • create User table and data schema
      • modify processes of login and creating new data
      • add public template
      • use alert message to protect url attack
    • Styling Refinements
      • data integrity
      • login page
      • login link

fsnd_p3_travel_catalog's People

Contributors

liuderchi avatar

Watchers

 avatar  avatar

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.