I'm Bryan, a Software Developer based out of Los Angeles.
borozcod / baller-stats Goto Github PK
View Code? Open in Web Editor NEWBasketball Stats App
Basketball Stats App
Make an API call for api.ballerstats.com/schedule
that just returns the upcoming schedule from the google doc. Inside the /api/routes.js
you can follow what was done for /members
and create your custom logic. Create a getSchedule.js
method inside /methods
. Ideally, it would be great to also have custom URLs like api.ballerstats.com/schedule/:teamID
that returns the schedule in an array, just for that team.
Add a sort feature to the Table
component. You should be able to sort each column.
I wanted to add a sort of player comparison feature. It would be a new tab labeled compare
.
Let's experiment with the possibility of adding this library https://www.npmjs.com/package/chart.js
It would be great if we could model the data that we get from Table.js
into a format that fits the chart.js dataset, that way we wouldn't need to make a separate request. This may involve moving the axios request outside Table.js
and into Home.js
.
What I have in mind is using the Radar feature to compare.
https://www.chartjs.org/docs/latest/charts/radar.html
baller-stats/api/methods/getTeam.js
Lines 5 to 12 in 95090f9
As of now when someone first loads the page, they see a blank screen for a second or two. This is because of the time it takes to make the API request. We need a piece of state that is initially set to false and then set to true once the api request in the componentDidMount
function is complete. If the loading state is set to false show a loading screen, else show the content. I think this is the perfect case for a higher order component. Something like
<LoadCheck
load={this.state.load}
>
<MyComponent>
</LoadCheck>
This way you can render the component as this.props.children
inside the HOC.
Total points table spacing needs to be adjusted for longer names.
Need to create an area that will show who opens/closes the gym and who is scheduled to serve at each game.
Should show the following:
Currently https://api.ballerstats.com/members
returns two objects, members
and names
. I would like to add a third object for fields
these would be the fixed fields used at the top of the table (Points, PPG, FT% ... ). This call should return the first row of the Leaderboard
google sheet.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.