├── LICENSE ├── .gitignore └── README.md /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Space-Team 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | *.pid.lock 13 | 14 | # Directory for instrumented libs generated by jscoverage/JSCover 15 | lib-cov 16 | 17 | # Coverage directory used by tools like istanbul 18 | coverage 19 | 20 | # nyc test coverage 21 | .nyc_output 22 | 23 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 24 | .grunt 25 | 26 | # Bower dependency directory (https://bower.io/) 27 | bower_components 28 | 29 | # node-waf configuration 30 | .lock-wscript 31 | 32 | # Compiled binary addons (http://nodejs.org/api/addons.html) 33 | build/Release 34 | 35 | # Dependency directories 36 | node_modules/ 37 | jspm_packages/ 38 | 39 | # Typescript v1 declaration files 40 | typings/ 41 | 42 | # Optional npm cache directory 43 | .npm 44 | 45 | # Optional eslint cache 46 | .eslintcache 47 | 48 | # Optional REPL history 49 | .node_repl_history 50 | 51 | # Output of 'npm pack' 52 | *.tgz 53 | 54 | # Yarn Integrity file 55 | .yarn-integrity 56 | 57 | # dotenv environment variables file 58 | .env 59 | 60 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![planetwagerlogo](https://user-images.githubusercontent.com/26422138/36043699-6a35ae50-0d8d-11e8-9405-9e37c0d2de03.png) 2 | 3 |
4 | screen shot 2018-02-09 at 11 12 13 am 5 | screen shot 2018-02-09 at 11 15 07 am 6 |
7 | 8 | # App Description 9 | Planet Wager! A React betting app that allows you to bet with your friends and keep track of who is losing spacebucks and who is raking them in. Visit it at https://planetwager.herokuapp.com/. 10 | 11 | # Problem Statement 12 | Have you ever made multiple bets with friends over the course of a night and lost track? With the Olympics coming up next week, viewers across the globe are going to be entering into friendly wagers, but Pyeongchang is 16 hours ahead of Mountain Standard Time, and it's going to be difficult to track if the events are happening while you are asleep. Eventually everyone will forget who owes who and what bets were made. No more! 13 | 14 | # How Our App Solves This Problem! 15 | Planet Wager will provide a platform for users to place bets at anytime, and wake up to winnings! Users can define their own bet (i.e. Japan wins men's figure skating) and invite their friends to accept the bet. Depending on the real world outcome, users will be awarded spacebucks. After all, gambling is not regulated in space! Our initial liftoff coinciding with the Olympics will build some great velocity, but the app can ultimately be used for non-olympic bets as well. The app can be used to bet on anything from intergalactic events to small things like who can hold their breath the longest in a challenge amongst friends. 16 | 17 | # User Experience 18 | Users open the app and login using a username and password. 19 |
20 | screen shot 2018-02-09 at 11 59 02 am 21 | screen shot 2018-02-09 at 11 59 42 am 22 |
23 | They are presented with a list of current bets which they can accept. Additionally, they can write their own bet by filling in a text field (i.e. the US wins gold in women's Alpine skiing) and a number of spacebucks. The bet goes up on the "betting board" and other users can accept the bet. If accepted, the bet moves to each users profile page, either in their created bets or their accepted bets. 24 |
25 | screen shot 2018-02-09 at 11 12 13 am 26 | screen shot 2018-02-09 at 12 10 36 pm 27 |
28 | These bets have three option buttons, "I won", "They won", and "Wash". When the event is completed, users both need to select one of the win outcome buttons according to the agreed upon results. At that point the winning user will have the opportunity to collect their spacebucks. When the bet is complete, a full record of it appears in each user's profile and can be tagged if/when the spacebucks are transferred as fiat currency. 29 | 30 | # Installation Instructions 31 | Using the app only requires visiting our website, https://planetwager.herokuapp.com/, and setting up an account. 32 | 33 | However, if you wish to download the app and make changes to better suit your personal needs, you will find the source code for the fronted at: https://github.com/Space-Team/space-betting-frontend and the code for the backend at: https://github.com/Space-Team/Space-Betting-Backend. After forking over your desired repo and cloning it down to your computer, please ```npm install``` then happy hacking! You will be able to find more detailed installation instructions in the respective repos for the frontend and the backend. 34 | 35 | 36 | # Technologies 37 | React, Express.js, Knex.js, Postgresql, Node.js, Ant Design, Cypress. 38 | 39 | 40 | # Authors 41 | screen_shot_2018-02-09_at_11 53 54_am_1024 42 |
43 | Paul Highum: https://github.com/paulhighum 44 | Amber Johnson: https://github.com/amberjohnsonsmile 45 | Emily Pancake: https://github.com/epancake 46 | Kyle Weintraub: https://github.com/themoonmoth 47 | 48 | 49 | 50 | 51 | 52 | # License 53 | MIT 54 | --------------------------------------------------------------------------------