Skip to content

zwangsfixiert/SampleApp

 
 

Repository files navigation

Betking sample app

Note all urls here and in settings.js are for the preview 1 release. These will need to be changed when the site goes live in production.

Create your app

Register an account on http://bkp1.azurewebsites.net/

Create a new app on http://bkp1.azurewebsites.net/apps

Configure your app

Change settings in the index.html file You will see your App Id on the apps page

settings = {
  AppId: 'APP_ID',
  AppName: 'NAME_OF_YOUR_APP',
  AppUrl: 'URL_OF_YOUR_APP'
}

Build your app

You need Node 6.10.0 or higher to build the project.

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

Java must be installed to run ete tests using Selenium.

# run all tests
npm test

Run your app

Deploy the dist folder generated after npm run build on Github, Heroku or your own server.

Contribute

You can submit pull requests for features or bug fixes. There's a list of issues marked with the Front-end label which should be able to be implemented without anything else being added to back end. You can also submit code for features or fixes not on the issues list if you find something yourself.

Please make sure there are no linting errors in your code befor submitting a pull request. Code with lint errors will not be merged.

About

Sample of app integration with BetKing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 48.4%
  • Vue 27.1%
  • JavaScript 24.3%
  • HTML 0.2%