{"id":20031226,"url":"https://github.com/filippobovo/dashfair","last_synced_at":"2025-05-05T04:31:27.216Z","repository":{"id":39761950,"uuid":"193263796","full_name":"FilippoBovo/dashfair","owner":"FilippoBovo","description":"Simple interface, built using Python's Flask and Javascript's React, to view the market ladder of a selection in Betfair.","archived":false,"fork":false,"pushed_at":"2023-01-04T00:51:39.000Z","size":7009,"stargazers_count":3,"open_issues_count":28,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T16:55:10.757Z","etag":null,"topics":["betfair","flask","javascript","python","react","socket-io"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FilippoBovo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-22T17:55:58.000Z","updated_at":"2023-05-11T12:09:30.000Z","dependencies_parsed_at":"2023-02-01T16:16:28.337Z","dependency_job_id":null,"html_url":"https://github.com/FilippoBovo/dashfair","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilippoBovo%2Fdashfair","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilippoBovo%2Fdashfair/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilippoBovo%2Fdashfair/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilippoBovo%2Fdashfair/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FilippoBovo","download_url":"https://codeload.github.com/FilippoBovo/dashfair/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252439652,"owners_count":21748049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["betfair","flask","javascript","python","react","socket-io"],"created_at":"2024-11-13T09:31:43.452Z","updated_at":"2025-05-05T04:31:26.385Z","avatar_url":"https://github.com/FilippoBovo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DashFair\n\nDashFair is a simple interface, built using Python's [Flask](http://flask.pocoo.org/) and Javascript's [React](https://reactjs.org/), to view the market ladder of a selection in [Betfair](https://www.betfair.com/).\n\n![DashFair Screenshot](resources/dashfair_screenshot.png)\n\nNote that you need to have a Betfair account and a [Betfair API key](https://developer.betfair.com/en/get-started/) with the streaming service enabled.\n\n## Install\n\nClone the repository.\n\n```shell\ngit clone https://github.com/FilippoBovo/dashfair.git\ncd dashfair\n```\n\nCreate a Python virtual environment, here using [Virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/), and Python 3.7, and Install the Python requirements.\n\n```shell\nmkvirtualenv --python=python3.7 dashfair\npip install -r backend/requirements.txt\n```\n\nInstall the Node.js packages.\n\n```\ncd frontend\nnpm install\ncd ..\n```\n\n##  Set up\n\nSet the environment variables to log in to Betfair using the API key.\n\n```shell\nexport BETFAIR_USERNAME=...\nexport BETFAIR_PASSWORD=...\nexport BETFAIR_APP_KEY=...\nexport BETFAIR_CERT_FILE=...\nexport BETFAIR_CERT_KEY_FILE=...\n```\n\nFill the dots using your credentials. For the last two environmental variables, you have to give the path to the respective files stored in your local machine.\n\n## Run\n\nTo start DashFair, launch the Flask backend application.\n\n```shell\ncd backend\npython backend.py\n```\n\nThen, open a new terminal, go to the repository folder and start the React frontend.\n\n```shell\ncd frontend\nnpm start\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilippobovo%2Fdashfair","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilippobovo%2Fdashfair","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilippobovo%2Fdashfair/lists"}