Skip to content

spjenk/tipping-web

Repository files navigation

TippingWeb

Demo: https://tipping-c3da1.firebaseapp.com/#/

Purpose

Demo application for training and UBET API integration examples

Examples

Sports Module

https://github.com/spjenk/tipping-web/tree/master/src/app/sport

Examples for getting all available sports from the ubet api and showing the number of leagues within each

Tipping Module

https://github.com/spjenk/tipping-web/tree/master/src/app/tipping

Examples for getting more details on events within a league such as odds (i.e. NRL, AFL). This web app shows odds for matches and link back to ubet.com with a prepopulated betslip

Running locally

This project was generated with angular-cli version 1.0.0-beta.28.3.

Prerequisites

Both the CLI and generated project have dependencies that require Node 6.9.0 or higher, together with NPM 3 or higher.

Installation

BEFORE YOU INSTALL: please read the prerequisites

npm install -g @angular/cli
npm install angular2-jwt

You can install the packages with npm

npm install

or with yarn

yarn install

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.