tratohecho3 / ubisoft-dna-tech-project

Fullstack Typescript Angular/Nestjs using Rxjs and PubNub for presenting ~real-time data from twitch API.

Home Page:https://ubisoft-dna-tech-project.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ubisoft DNA Technical Project

node 13.6.0 & npm 6.13.6

Technology

Frontend: Angular, RxJS, Typescript, mdbootstrap

Back-End: Nestjs, Rxjs with PubNub for realtime communication

Development server

First run npm install to install all dependencies.

Run npm run serve to start both frontend/api dev servers.

The app will automatically reload if you change any of the source files.

Build

Run npm run build to build the project. The build artifacts for both frontend & api will be stored in the dist/ directory.

Run npm run start to serve the build on http://localhost:3333/ who serve the frontend app.

Deploy

Automatically deploys when pushing changes on master branch.

API Routes

GET /api/twitch/games-viewers-count

Returns the total streams viewers counts for:

  • Rainbow Six Siege
  • Far Cry 5
  • Assassin’s Creed Odyssey

Example response:

// Status: 200 OK
[
  {
    "name": "Rainbow Six Siege",
    "id": "460630",
    "abrev": "R6S",
    "viewersCount": 13793
  },
  ...
]

About

Fullstack Typescript Angular/Nestjs using Rxjs and PubNub for presenting ~real-time data from twitch API.

https://ubisoft-dna-tech-project.herokuapp.com


Languages

Language:TypeScript 89.2%Language:JavaScript 5.1%Language:HTML 4.1%Language:CSS 1.6%