This is a blockchain backed rating system for movies It allows user to browser and rate movies.
Install all the dependecy at both frontend & backend with npm install
Rating data is saved in Kaleido. Use the following commands to deploy a contract:
cd backend/scripts/
node bootstrap.js
Deployed instance
and openapi
will be printed out in terminal. Copy backend/config.example.js
to backend/config.js
and replace the value of CONTRACT_INSTANCE
and OPENAPI
with the printed values.
The repo has already included pre-crawled data of 250 movies from IMDb, saved in backend/data.json
. Use the following steps to re-crawl:
cd backend/scripts
node crawler.js
Build the client with the following command
cd frontend
npm run-script build
Start the server:
cd backend
NODE_ENV=production npm start
Type http://localhost:4000/
in browser to start using the system.
Start the backend in one terminal:
cd backend
npm start
Start the frontend development server in another terminal:
cd frontend
npm start
List movies with posters, titles, average ratings, etc.
Movies can be sorted by rating, publish time or popularity.
Clicking the movie card will open a drawer showing the detailed movie information and allow user to rate the movie.
Typing title keywords will instantly get the related movies.
Responsive to different viewsize.
Mobile screen | Mobile screen |
---|---|
![]() |
![]() |