About:
This application simulates the back-end of a popular movie streaming and rental platform using data structures such as Map and Queue. It include features such as search by title, actor, or subject; a movie check-out and check-in system; a movie rating system; a user login and registration system; persistant data tracking; and a movie recommendation system based on user's previous movie ratings. The basic front-end controls are based on the Qt library. The back-end originally utilized my own data structures, but was later replaced with STL classes for extra credit.
Quick Start Guide:
1. Enter qt-workspace directory by typing
cd qt-workspace
.2. Type the following, in order, to make:
qmake -project
qmake
make
.3. Run the program by entering
./qt-workspace data.txt
.- Enter qt-workspace directory by typing
cd qt-workspace
. - Type the following, in order, to make:
qmake -project
qmake
make
. - Run the program by entering
./qt-workspace data.txt
.
- Note: Do not log in with the same username if you have just logged out. This will delete the user's queue.
- Note: Quit the program entirely after successfully creating a new user. Not doing so may end up crashing the program.
- Note: Feel free to use the provided 'refresh' button if the window doesn't update.
- Note: Formats for data files have been changed. See the samples given in
qt-workspace/data
. - Note: Do NOT use the data files in
data/
as they are for non-QT parts of the project. - Note: The Dijkstra's part (10%) of the similarity estimate was not implemented. The basic similarity factor is the one used in recommending.
I attempted the following options (6 bells & whistles):
- STL Data Structures
- Actors
- User Fields
- Modify Ratings
Last modified December 7th
- To open the application, while in the uppermost directory, type
make all
then./bin/movie_app data.txt
- Note that all data files must exist in the 'data' subdirectory.
- 'bin' will be automatically generated when 'make all' is ran.
Last modified October 12th
- To open the application, while in the uppermost directory, type
make all
then./bin/movie_app data.txt
- Note that all data files must exist in the 'data' subdirectory.
- 'bin' will be automatically generated when 'make all' is ran.
- The gtest
set_test.cpp
can be accessed in the tests folder. - Note: Log out alone will not save the user's current queue. User must exit the program all the way for the queue to be saved onto the user database.
- Note: The only way to add a movie to queue is to search a movie by keyword, and only by a keyword.
Last modified October 29th
- Enter qt-workspace directory by typing
cd qt-workspace
. - Type the following, in order, to make:
qmake -project
qmake
make
. - Run the program by entering
./qt-workspace data.txt
.
- Note: DO NOT log in with the same username if you have just logged out. This will delete the user's queue.
- Note: You may need to click the 'refresh' button (only) after adding movie to queue. Every other function will automatically refresh the window.
- Note: Searching for a movie by keyword may display multiple movie information simutaneously.
- Note: This program CANNOT track the "Movie" keyword in its user data file. Having this keyword in its data file will result in errors.
Last modified November 30th