Code Monkey home page Code Monkey logo

nba's Introduction

NBA Fantasy App

this is a NBA fantasy app that will allow you to get access to all infomation about teams and players within the NBA and be able to create, join Fantasy Leagues and draft within them.

By Eddie Kochman, Jacob Curley, Ethan Chen

Currently Work in Progress

We are still working on this, all features are not yet complete

launch the EC2 Server

the username is ec2-user and the password should be included in the NBA folder in NBAkey.pem file

the address for the ec2 server: http://ec2-54-215-176-11.us-west-1.compute.amazonaws.com and enter "java -jar NBADraftProject-0.0.1.jar" into the terminal to run the server.

Access the http address from Google Chrome: http://ec2-54-215-176-11.us-west-1.compute.amazonaws.com

running the application through console

  1. navigate in terminal to the directory with the pom.xml file

  2. run mvn package

  3. in fileViewer go to the target folder of the project

  4. copy the NBADraftProject-0.0.1.jar file to the ec-2 server via an SSH protocol

  5. connect to ec-2 terminal

  6. type java -jar NBADraftProject-0.0.1.jar

  7. run the command

  8. Finally, go to your browser (preferably Google Chrome) and enter the ec-2 url----> http://ec2-54-215-176-11.us-west-1.compute.amazonaws.com

NOTE you don't have to run your own ec-2 instance. The URL provided should sufice because it should be optimized to run

using the application

Register a user, this user can be logged in again once you have registered them.

The homepage will have buttons and most importantly, a global chatroom.

Upon Joining, there would be no leagues, and no teams created yet, so you will need to go to "Create A League" in your homepage.

Insert all the parameters needed to create a league, and upon creating a sucessful league, it should redirect you to your homepage again.

From there you can see your team from the "My Teams" button in the Homepage. To join the draft, click on "Go to Draft".

The draft will begin when the Maximum amount of users have joined the league, and they all have chosen to join the draft.

You can now start your draft, click on players you want to draft, turns are enabled.

There is a league specific chat client in the draft window, and also a console log that shows the events of the draft. These are League Specific.

upon each user drafting 14 players(5 for their starting lineup and 9 for subs), the draft will automatically end and insert all of your picks into your table within a SQL server. Thus Concluding the live draft.

you cannot leave the draft once you start

To check the database and see your team: here is the database URL: nbafantasydb.cxa7g8pzkm2m.us-east-2.rds.amazonaws.com/NBAFantasy UN: root PW: Ethaneddie123

nba's People

Contributors

ekochman1 avatar ewcvis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.