Code Monkey home page Code Monkey logo

github-challenge's Introduction

ReadMe of the Lap 3 Challenge

LAP 3 CHALLENGE - GITHUB FETCH API

Available Scripts

In the project directory, you can run:

npm i / npm install

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

Installation & Usage

npm install npm start

Technologies

VSCode React

Process

  • Started off with declaring what we want to achieve by stating the useStates e.g. username, pending screen, repos etc.

  • Defined functions when submitting usernames on the form

  • useEffect to show the repos and repo details

  • Each time you click on the search button you will see render rows which will present the results

  • Created another component which represents the repo details, this includes the name, date created, updated, how many forks, stargazers and watchers as well as languages used.

Wins & Challenges

Wins

  • Able to make fetch requests
  • Able to view everyone's repos in real time
  • Able to view the statistics for each repo e.g watchers, stars and forks
  • Able to remove repos once changing other people's usernames for security reasons
  • Styling

Challenges // Future Features

  • Unable to capture ALL of the languages (some repos use more than 1 language, we are only able to see the language with the biggest %)

  • Fetch how many repos each username has

github-challenge's People

Contributors

peterlydev avatar

Watchers

 avatar

Forkers

rubhan24

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.