This is a movie-related website like iMDB Netflix, which includes all kinds of information about films, tv shows, video games, and it also allows users to rate/review/add into watchlist what they want. The website will include a movie recommendation system depending on what you most frequently viewed. There is a trending list(TopK). This website will also provides you data visualization of tremendous amount of movies which analysis the data of movies and user data.
Prior to installation, you should make sure get python3 and virtual environment installed, and activate that virtual environment. If you don't know how to do that, you can reference this
git clone https://github.com/weilingao/movie-website.git
python manage.py runserver
Then you can start the server at http://127.0.0.1:8000/
Note: steps of making model changes
- Change the model
- Run
python manage.py makemigrations
to create migrations for those changes - Run
python manage.py migrate
to apply those changes to the database
- model: data representation, authentication & permissions
- serializer: serialize data as json format -
ModelSerializer
- view: api, GET/POST/PUT/DELETE; movie_list/movie_detail; function-based/class-based view
- url: url config working with view
- Initialize the whole project
- Integrate React with Django
@ Weilin Gao from University of Southern California
USC © Weilin Gao