Code Monkey home page Code Monkey logo

github_api_repo_search's Introduction

GitHub Repo Search

Glimpse is a simple web application that allows users to search for GitHub repositories using keywords and save them to a favorite repos list. The application uses the GitHub API to fetch the search results and display them to the user. Additionally, a lightweight external API server manages the favorites list.

Technologies Used

Installation

To install and run the application locally, follow these steps:

  1. Clone the repository to your local machine.
  2. Install the required dependencies by running npm install.
  3. Start the application by running npm start.
  4. Open your web browser and navigate to http://localhost:3000.

OR via Docker

$ COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose build
$ docker-compose up

Note: To use the search functionality you will need to provide a Github Access Token with the public repository scope.

Endpoints Available for fine-grain access tokens

GET /search/code
GET /search/commits
GET /search/issues
GET /search/labels
GET /search/repositories
GET /search/topics
GET /search/users

The Github access token is referenced from an .env file with the name: GITHUB_ACCESS_TOKEN

Usage

To use the application, enter a search term into the input field. The application will fetch the search results from the GitHub API and display them within the autocomplete. Select a result to add it to your list of favorite Github repositories.

Note: The max amount of favorite Github repositories is 10. To search for additional repositiories lower the current favorite repository number to a number lower than 10.

License

This project is licensed under the MIT License. See the LICENSE file for details.

github_api_repo_search's People

Contributors

malachi-m avatar

Watchers

 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.