Since many gambling website is focusing on making profit for their own, we found that it is a great opportunity for these websites to build up connection with philanthropy events.

What it does

Throughout our website, user can bet any sports event on our site and make a bet. Clients will get paid back if they win, but if they lose, we will donate 30% of bet amount to American Cancer Society.

How I built it

First, we use django to build up our data frame and database. Then, we separate our work into front end and back end. For front end, we used css, javascript and html to implement. For back end, we web-scrapped live sports data from and put them into our database. At the same time, we adopted Capital One API to achieve payment transaction between users, bet4charity, and American Cancer Society.

Challenges I ran into

Initially, we were thinking about adopting blockchain API to encrypt users' data and bitcoin payment transaction. Unfortunately, since the API of this technique is only associate with bitcoin storage and security, it's infeasible for us to create a new API involving in blockchain technique regard to other data from users.

Accomplishments that I'm proud of

We are able to utilize the economic advantage of a gambling website to do something beneficial to society. We are proud of using Capital One API to facilitate us to achieve this goal. We have lots of good understanding on blockchain technique.

What I learned

We learned to use Capital One API to POST, PUT and GET accounts, purchases, transfers, and deposits data. We also learned to use django to build up our data frame and database in a clean, efficient way. In addition, we figured out how to get the live sport data we need from the HTML source in a economic way.

What's next for bet4charity

We will also let the gambling losers to choose the organizations by themselves, including charity organizations, schools and other non-profit organizations.

Share this project: