GithubHelp home page GithubHelp logo

nagesh5454 / githubuser_avatarfinder_webapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from salmanshaikh18/githubuser_avatarfinder_webapp

0.0 0.0 0.0 379 KB

GitHub User Avatar Finder Web App (React Project)

JavaScript 59.98% CSS 33.77% HTML 6.25%

githubuser_avatarfinder_webapp's Introduction

Task: GitHub User Avatar Finder Web App

Objective:

Develop a web application using React that allows to input a GitHub username. Upon user input, the app should display the avatar of the user fetched from the GitHub API. The app should incorporate debouncing to enhance user experience and prevent excessive API calls. To implement debouncing, create a custom hook called useDebounce.

Rquirements:

requirements

User Interface (UI):

Create a simple and user-friendly UI with a text input box and an image container. The user should be able to type GitHub username in the input box. GitHub API Integration: Utilize the GitHub API to fetch user information, specially the user's avatar image. Handle API requests and response effectively.

Avatar Display:

Upon successfull API response, display the user's avatar image in the designated container.

Debouncing:

Implement debouncing to improve performance and prevent excessive API calls while the user is typing in the input box.

Create a custom hook named useDebounce to manage the debouncing functionality. Custom Debounce Hook (useDebounce): The useDebounce hook should take an input value and a delay time as arguments. Implement the debounce logic within the hook using setTimeout. Return the debounced value after the specified delay has passed.

githubuser_avatarfinder_webapp's People

Contributors

salmanshaikh18 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.