Welcome to the OPBets github repo! Click here for Demo Video
My interpretation of the best prediction market UI for esports and other interesting wagers. Users are incentivized to provide liquidity via meticulous matched wager live odds time stamped tracking. Prediction pair orders float with up to the minute market aggregate odds and can be canceled from the dashboard at anytime.
Explore the docs »
View Site
·
Report Bug
·
Request Feature
Click here to view OPBets live on the web!
The app was built using Flask and SQLAlchemy on the back end with a PostgreSQL database. The backend structure is RESTful with AJAX requests that are fullfilled with JSON Objects. Model associations are used to minimize database queries to the backend, assuring speed and reliability, while tracking matched user pairs and time stamping variable odds.
The front end is built with React and Javascript while utilizing Redux architecture, producing a lightning-fast user interface and calling upon dynamically rendered components.
To get a local copy up and running follow these simple steps.
Here is everything we need you to do to get started with Skybnb.
- npm
npm install npm@latest -g
-
Clone the repo
git clone https://github.com/btcblade/opbets
-
Install NPM packages
npm install
-
Add a '.env' with your environment variables to the root of your local directory
-
Create a postgreSQL user
CREATE USERS <<your username>> WITH PASSWORD <<your password>> CREATEDB;
-
Create your database
CREATE DATABASE <<db name>> WITH OWNER <<your username>>;
-
Upgrade and seed your database
flask db upgrade flask seed all
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
email: tommynchen@gmail.com or tcblade@gmail.com
Demo Video: https://www.youtube.com/watch?v=QJMexFQzM8U