Skip to content

Latest commit

 

History

History
72 lines (52 loc) · 3.55 KB

README.md

File metadata and controls

72 lines (52 loc) · 3.55 KB

TwitchBrotherBack

Production URL: https://twitch-brother-back.herokuapp.com

Java Micro Service with

  • a Twitch Client to Poll Twitch API as fast as possible / authorized
  • a websocket server pushing the results of the streaming datas to any connected client
  • a bar chart to compare datas betweens the games
  • You have to download and install the client (Angular 12) to consult all the analytics (see Frontend section)

SonarCloud

Quality Gate Status Coverage Security Rating Vulnerabilities Duplicated Lines (%)

Pre-installation

Open Jdk - Java

Redis

Maven

Installation

Environment Variables

Solution 1

  • use the POM file sent via email including the environment variables, and replace the existing one with

Solution 2

add the dependencies on your system

to add them easily: TWITCH_CLIENT_ID=xxx;TWITCH_CLIENT_SECRET=xxx;ALLOWED_ORIGIN=http://localhost:4200;REDIS_HOSTNAME=localhost;REDIS_PORT=6379;GAMES_LIST=460630,497078,506274,490382 Install dependencies

  • mvn clean install

Deploy

Server

This server is running correctly if the logs are looking like:

img.png

Frontend

You can copy and install the repository from: https://github.com/fukakai/TwitchBrother

img_1.png