Skip to content

Twitch API and React, with Recommendation System

Notifications You must be signed in to change notification settings

oscargong/jupiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitch Streaming and Recommendation Application

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.

Local API

  • 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
  • GET get favorite item http://localhost:8080/jupiter/favorite?user_id=1111
  • DEL delete favorite item http://localhost:8080/jupiter/favorite?user_id=1111

Twitch API Reference

AWS

MySQL DB Instance on RDS

  • Create a MySQL DB Instance on AWS RDS.

  • Change db/MySQLDBUtil INSTANCE to your MySQL DB Instance's endpoint.

  • Create a config.properties under main/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.

EC2

Deploy instruction:

  • TODO

Diagram

Backend

MySQL

Authentication (Login/Logout)


About

Twitch API and React, with Recommendation System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages