Skip to content

javidal10/NBAWebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

NBAWebApp

This repo contains a web application that obtains the heights in inches of the NBA players by querying the Endpoint Mac Eight. it ask the user to enter the add up of two players height in inches

Setup   pyVersion37

  • Set up and activate the local development environment.

  • Install the requirements using pip:

    pip install -r requirements.txt
  • Setup local PostgreSQL database and use django migrations

    python NBA/manage.py makemigrations
    python NBA/manage.py migrate
    # This will setup the local database based on django models. Make sure you are in the same directory as manage.py file
  • Fetch and store information manually by going to endpoint below an click on PUT

    http://127.0.0.1:8000/player

  • Run the server as follows:

    python Nba/manage.py runserver
  • If your development server is at localhost then you can access the api by using:

http://127.0.0.1:8000/player

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published