nahuelverdugo / movies-rating-map

A sample using Java / Scala Spark / ReactJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Movie Rating Map

Here is the demo.

Step 1

The reviews are extracted by using Maven into a CSV file.

$ cd movies-scraper
$ mvn clean install -Dmaven.test.skip=true
$ cd target
$ nohup java -jar filmAffinity-jar-with-dependencies.jar &

It will generate a file called data.csv.

Step 2

The JSON object needed in the web interface is created running the following SBT command:

$ cd movies-spark
$ sbt run

Step 3

Finally, the React application is built and run with the use of NPM.

$ cd movies-map
$ npm install
$ npm run start

That's all.

About

A sample using Java / Scala Spark / ReactJS

License:MIT License


Languages

Language:Java 57.9%Language:JavaScript 24.3%Language:Scala 13.2%Language:CSS 3.9%Language:HTML 0.7%