react-github-profile icon indicating copy to clipboard operation
react-github-profile copied to clipboard

Learning about (unit & integration) testing on React

GitHub Profile

Simple application to display information from GitHub users.

User Stories

  • [x] User can enter a username.
  • [x] User should get an alert if the username is not valid.
  • [x] User should get an alert if the username not found.
  • [x] User can see the profile data such as avatar, name, and username.
  • [x] User can see list repositories.
  • [x] User can see message if the repositories is empty.
  • [x] User scroll down to see all other repositories.

Available Scripts

In the project directory, you can run:

  • yarn dev: Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
  • yarn test: Launches the test runner in the interactive watch mode.
  • yarn build: Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.