An open API service indexing awesome lists of open source software.

https://github.com/emanuelefavero/compare-nba-players

This is a nextjs app that allows you to compare NBA players
https://github.com/emanuelefavero/compare-nba-players

api balldontlie-api chartjs nextjs react-chartjs-2 react-toastify

Last synced: 3 months ago
JSON representation

This is a nextjs app that allows you to compare NBA players

Awesome Lists containing this project

README

        

# Compare NBA Players

This is a website that allows you to compare NBA players. It uses the [balldontlie API](https://www.balldontlie.io/home.html#players) to get the data as well as [Chart.js](https://www.chartjs.org/) to display the data.

## Website

- [https://www.comparenbaplayers.com](https://www.comparenbaplayers.com)

#### Screenshot

![screenshot](./screenshot.webp 'screenshot')

## Getting Started

- clone the repo and `cd` into it
- run `npm install` to install the dependencies
- run `npm run dev` to start the development server
- open `localhost:3000` in your browser

## Resources

- [balldontlie API](https://www.balldontlie.io/home.html#players)
- [balldontlie player search](https://www.balldontlie.io/api/v1/players?search=curry)
- [balldontlie stats](https://www.balldontlie.io/api/v1/season_averages?player_ids[]=115&player_ids[]=237)
- [react-chartjs-2](https://www.npmjs.com/package/react-chartjs-2#docs)
- [Chart.js](https://www.chartjs.org/docs/latest/)
- [Nextjs](https://nextjs.org/)
- [React](https://reactjs.org/)
- [Tailwindcss](https://tailwindcss.com/)
- [Tailwind Cheat Sheet](https://nerdcave.com/tailwind-cheat-sheet)

## License

- [MIT](LICENSE.md)