This is CUHKSZ CSC3170 group project
- zsf
- zby
- sth
- ly
- wmj
This project contains a demo which can be browsed within the CUHK(SZ) campus network
Open a browser and visit:
This site will be close after project grading is completed.
-
Install Packages
- python packages
pip install -r requirements.txt
- node.js packages
npm install
-
Set up your database
- Create database
rotten_potatoes
- Create
.env
file:
PORT=3000
SECRET_KEY=RotTeNPOtATOeS
DB_RESET=true
DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASSWORD=passwd
DB_DATABASE=rotten_potatoes
substitute DB_USER
field and DB_PASSWORD
field with your own mysql user and password
- Run nodejs server
- Run the server:
npm start
- The server will be running at: "localhost:3000" (visit this url in your browser)
- Login the app with default user with name "root" and password "123"
Technology stack used in this project:
Data in this project is scraped from IMDb Top 250 Movies by crawler written by:
if there is any infringement, please contact to delete
- login/register/personal center
- movie list and detail
- actor list and detail
- show actors of a movie under the movie's detail page
- show movies that an actor performed under the actor's detail page
- comment list
- show comments on a movie under the movie's detail page
- user detail page
- show comments that a user commented under the user's detail page
- release_date, average rate of movie and birth_date of actor
- collect data: finished with python crawler
- sort
- movies: by release_date, average rate, name
- actors: by birth_date (i.e. age), experience (number of movies acted)
- filter
- movies: by movie_type, which decade (80s, 90s)
- actors: by actor_type, which decade (80s, 90s)
- recommendation system
- character list page
- comment on actors
- like, dislike comment
- sort comments: by comment_date, like, dislike
- speed up crawler by async request