Skip to content

Milestone #2

brainwood edited this page Apr 15, 2014 · 9 revisions

Overview

M2 is the next step in our project. There has been some good DB design and interface design accomplished. Here are the M2 checkpoints:

  • (complete this list)
  • Complete the different main views
    • Home page
    • Movie list page (list of all users' movies)
    • Movie page (the view of an individual movie)
    • Library list page (list of all users' libraries)
    • Library detail page (list of movies in the library)
    • Movie search page
    • Movie lending page
    • User account page
  • Implement the DB Access Models for the application
    • Movies
    • Users
    • Library
    • Group
  • Setup MongoDB on the live server
  • Setup Flask on the live server
    • Might need to setup Gunicorn and Nginx in conjunction with Flask
    • Live site will live here

These are the different checkpoints that we want to have accomplished for M2.

Details and progress

We have completed several different views that we consider to be 'main' views in our web application. Some of the completed views include:

  • Home Page
  • Movie pages
  • Library pages
  • etc.

In addition, the DB access models have been fully implemented with functional methods that we can call within our code. We are using MongoDB locally on our development servers. In this milestone we have changed our DB schema simplifying it by dropping two tables and also generalizing it so that future expansion or reuse it much simpler and faster to implement.

We have also set up hosting space on Nathan's BillsFilms.com web server. For now, MongoDB has been setup and the my_movie_library has been initialized. We have been able to connect to and update data in the live database.

We are going to use Flask on the live server and we found out that we may need to use Flask in conjunction with Gunicorn and/or Nginx. We are still looking into how this needs to be setup. GUnicorn works well for a Flask application server but Nginx can be used beneath Gunicorn, and Nginx can handle buffering slower TCP connections.

Clone this wiki locally