Skip to content

Mahikagarg09/Search-GitHub-user

Repository files navigation

Search Github User Profile

It uses Angular 14+ to make a single-page application (SPA) that takes a GitHub username as input and displays the public Github repositories belonging to the user.

How to use

  • Search user by entering username in the search bar.
  • If user exists, user's profile and his public repositories will be displayed. Otherwise, an error message to enter correct username will be displayed.
  • By default, page size is 10 and can be changed upto 100. You can navigate through pages using previous and next button.

Running the application

  1. Fork this repository to your github account.
  2. Clone the forked repository and proceed with steps mentioned below.
  3. Install angular cli Ref
  4. npm install in this repository
  5. Run ng serve to run the development server.
  6. Navigate to http://localhost:4200/
  7. To run the tests, you can use the ng test command in your terminal.

Screenshots

image image image

Live Link

Live Link

About

Shows profile and pubic repos of a user on searching a GitHub Username

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages