BTCBlade / OPBets

AppAcademy Capstone Project - An Esports Matchbook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to the OPBets github repo! Click here for Demo Video


Logo

OPBets

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

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

About The Project

Click here to view OPBets live on the web!

homepage ss

Overall Structure

Back End

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.

Front End

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.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

Here is everything we need you to do to get started with Skybnb.

  • npm
    npm install npm@latest -g

Installation

  1. Clone the repo

    git clone https://github.com/btcblade/opbets
  2. Install NPM packages

    npm install
  3. Add a '.env' with your environment variables to the root of your local directory

  4. Create a postgreSQL user

    CREATE USERS <<your username>> WITH PASSWORD <<your password>> CREATEDB;
  5. Create your database

    CREATE DATABASE <<db name>> WITH OWNER <<your username>>;
  6. Upgrade and seed your database

    flask db upgrade
    flask seed all

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

email: tommynchen@gmail.com or tcblade@gmail.com


Contact & Acknowledgements

Demo Video: https://www.youtube.com/watch?v=QJMexFQzM8U

About

AppAcademy Capstone Project - An Esports Matchbook


Languages

Language:Python 90.0%Language:CSS 7.3%Language:HTML 1.4%Language:Dockerfile 0.7%Language:Mako 0.6%Language:JavaScript 0.0%Language:Shell 0.0%