Giter Club home page Giter Club logo

github-repo-search-app's Introduction

repofinder_

This project will help you to look for github repository and perform sorting (stars, forks, help-wanted-issue and last-updated) and ordering (ascending and descending). You can search for the repository manually too. You can even query for the number of repositories per page (maximum limit is 100 provided by github).

Tech used

  • React
  • vite
  • Github API
  • Moment.JS
  • axios

To run locally

Requirement

  • Node.JS
  • git

Clone the repo by selecting the Code button, and choosing HTTPS or SSH option.

<!-- for SSH -->
git clone [email protected]:Divyue30597/github-repo-search-app.git

<!-- for HTTPS -->
git clone https://github.com/Divyue30597/github-repo-search-app.git

A new folder named github-repo-search-app-main - main is representing the branch here.

<!-- Change directory into the repo locally -->
cd github-repo-search-app-main

<!-- install the dependencies -->
npm install

<!-- run the application locally -->
npm run dev

Once the application start, you will see nothing or you might see an error message. To solve that, create a file .env.local. In that file store the variable name VITE_GITHUB_TOKEN with your github personal token. You can refer this documentation. You don't have to use "" for the token's value.

VITE_GITHUB_TOKEN=<YOUR-TOKEN>

Screenshot of application

repofinder_

Tasks done

  • Implemented the sorting and ordering.
  • Implemented simple pagination
  • Added loading="lazy" attribute to image, so it loads when it is in the viewport.
  • Used grid and flexbox for designing.

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.