Skip to content

henryh28/HackBright_Capstone

Repository files navigation

HackBright Capstone Project          logo

BunnyBeenz is a platform that lets a group of people make decisions on what to do, faster so they spend more time doing and less time deciding.

Features

  • User can create rooms using different voting methodology (Currently supports First Pass The Post and Random)
  • User can search for options to vote on and pull data from various APIs for boardgames, videogames, TV shows, and movies
  • Users in the same room can see real time update of available choices through the use of web sockets
  • User can chat with other users that are in the same room
  • For First Pass The Post rooms, users can view the current result of voting displayed in a variety of chart types using chart.js
  • Room owners can send SMS messages to invite users to their voting rooms

Tech Stack

Category: Tech used
Backend Python, Flask, Postgresql, SQLAlchemy
Frontend HTML, CSS, Javascript, Bootstrap, jQuery, chartJS
API Boardgame Atlas, TMDB (The Movie Database), RAWG.io, Twilio
Other Jinja, BCrypt, Paypal

Installation

To begin, clone this repository to your local machine via the below command

git clone https://github.com/henryh28/HackBright_Capstone

Once the repo is cloned, use your CLI to navigate to the project root directory, and initialize a virtual environment using the below command

virtualenv env
source env/bin/activate

Follow that by installing the required project dependencies by typing in

pip3 install -r requirements.txt

Next, create a database for the project with the below command

createdb hb_capstone

Once done, create a file that contains the necessary API keys for the application to function. You can name it whatever you like but ensure that the following API keys are present

export TMDB_KEY="your api key here"
export STEAM_KEY="your api key here"
export BGATLAS_KEY="your api key here"
export RAWG_KEY="your api key here"
export TWILIO_ACCOUNT_SID="your api key here"
export TWILIO_AUTH_TOKEN="your api key here"

Now run the file that you have just created with the API key by typing in

source filename_that_contains_the_above_API_keys

and lastly, start the server with

python server.py

Project Files

Filename Description
/Static Static assets such as css, js, and image files
/templates Jinja HTML templates
.gitignore lists assests to not include in this repo
README.md This file
crud.py Contains definitions of CRUD functions for application models
hb_capstone.sql .SQL file to populate sample database for this project
model.py Contains definitions of database models
requirements.txt Lists project dependencies
seed_database.py Can be used to seed development database with testing data
server.py Main server file that defines server route and functions

Bugs

  • Drag & drop incompatibility with firefox browsers

Youtube Demo Link

Youtube video

Contributing Author

Henry Hsu Github

My Spirit Animal

License Copyleft 2022. (Free for non-commercial use) Contact my lawyer for the details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published