Skip to content

A project that gets information from GitHub API and display it to the user.

Notifications You must be signed in to change notification settings

MestreALMO/Github_Explorer

Repository files navigation


Logo

Github_Explorer

This is a project of mine that display information of projects of GitHub. The information this application returns is 100% accurate as this project was made by getting and displaying the information from the GitHub API.


Table of Contents
  1. Getting Started
  2. Running Code
  3. Usage
  4. Contact

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.


Prerequisites

The things you need to install the software and how to install them

  • Nodejs - Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.
  • Chocolatey - Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages.
    • To install execute the codes with a terminal (ex: In Windows use PowerShell):
      Get-ExecutionPolicy
      
      Set-ExecutionPolicy AllSigned
      
      Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
      
      choco
      
  • Node.js, Yarn, Python2 e a JDK 8
    choco install -y nodejs-lts yarn python2 jdk8
    

Running Code

Now the PC is ready, we can run the code.


First time

When running for the first time we need to run the following code in a terminal inside the project folder, so the project download the library that it uses

yarn

Running

In a terminal inside the project folder use the code:

yarn start

With that the app will be running!!! test


Usage

Now with the project running, we can using it, let me give you some examples of it running.

First things first, we are using the GitHub API, so any GitHub project will show. In the example bellow let's use the facebook/react project, first we insert "facebook/react" in the input and press "Research": test

Then we should have the project being displayed with the user icon, the project's name and it's repository description. Please notice that the information is being storaged in the "localStorage" so if you reload the page the project added to this app will continue there. In case you want it gone you can clean the "localStorage" in your browser. test

By clicking on the project option displayed above we will go to a page that will show even more details of the project and a button to go back to the first page, the more details that are displayed are: Number of forks; number of issues; number of stars; and the name of the issues with the link for the page if you click on it. test

So what happens if you add more projects to the Dashboard? It will all be displayed so you can choose wich one you want to see more details of: test

You can also scroll down to see them all: test


Contact

My Name: André Lusegardis Miranda de Oliveira

About

A project that gets information from GitHub API and display it to the user.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published