This is a Twitch streaming application with a live video recommendation API and search system, based on a variety of recommendation algorithms.
Built by React, Java Servlet and Tomcat, deployed on AWS.
- GET top games:
http://localhost:8080/jupiter/game
- GET search game by name:
http://localhost:8080/jupiter/game?game_name=Starcraft II
- GET search streams/video/clip by
game_id
:http://localhost:8080/jupiter/search?game_id=490422
- POST add favorite item
http://localhost:8080/jupiter/favorite?user_id=1111
- request body: https://codeshare.io/JbrgbE
- GET get favorite item
http://localhost:8080/jupiter/favorite?user_id=1111
- DEL delete favorite item
http://localhost:8080/jupiter/favorite?user_id=1111
- request body: https://codeshare.io/JbrgbE
- Authentation
- Get top games: Gets games sorted by number of current viewers on Twitch, most popular first.
- Get games: Gets game information by game ID or name.
- Game related APIs:
-
Create a MySQL DB Instance on AWS RDS.
-
Change
db/MySQLDBUtil
INSTANCE
to your MySQL DB Instance's endpoint. -
Create a
config.properties
undermain/resources
, add the following lines.# MySQL Properties user=YOUR_ADMIN password=YOUR_PASSWORD
-
Run
db/MySQLTableCreator
, it will create three tables in your RDS instance:favorite_records
,items
,users
. -
Schema: see diagram.
Deploy instruction:
- TODO