Skip to content

pedro-chiappani/nba-codechallenge

Repository files navigation

NBA Code Challenge


Installing the App (Only once)

  1. npm i
  2. npm start
  3. emulator -avd <emulator-name>
  4. npx react-native run-android / npx react-native run-ios

Running the App

  1. npm start
  2. emulator -avd <emulator-name>

Testing

  • npm run test:watch

Linting

  • npm run lint:fix

Objetives

  • Read Sportsdata.io NBA API docs.
  • Create Sportsdata.io NBA API key.
  • Create a new Screen with a <FlatList/> component listing the active teams from the current season.
  • Create a new Screen with a <FlatList/> component listing players from certain team.
    • Add a search bar.
  • Create a new Screen with a detailed view of a player.
  • Manage the state using Zustand
  • Add tests using React Native Testing Library
    • Tapping on a team should open the team detail screen.
    • Tapping on a player should open the player detail screen.
    • Updating the search box input should update the player list.

Exampless

drawing

drawing

About

Aplicacion React Native para resultados y partidos de NBA

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors