Skip to content

chufurd/bball-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basketball API

This is a basketball API that allows users to select 10 random basketball players and view their stats. The API is built using Node.js, Express and MongoDB. The frontend of the application is built using React.

The user can toggle the stats of the players to see various information, such as their height, weight, position, and team. A refresh button is also available which will make a request and fetch 10 new random players to select from.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You will need to have Node.js and npm installed on your machine. You will also need to set up a MongoDB database.

Installing

  1. Clone the repository to your local machine

git clone https://github.com/your-username/basketball-api.git

  1. Navigate into the project directory

cd basketball-api

  1. Install the required dependencies

npm install

  1. Set up a .env file with your own environment variables for the MongoDB URL and PORT.

  2. Start the development server

npm run start

The application will be running on http://localhost:5000.

Built With

Author

Jesus Rodriguez

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published