Coder Social home page Coder Social logo

orderbird-test's Introduction

Project Name

Search repository wizard A small single page app to get calcualte the popularity of a Github Repo.

Table of Contents

Introduction

The goal is to create a single page application that consumes GitHub’s API, and after providing a repository name, displays the following information:

  • Repository’s name and author
  • Author’s profile picture
  • Repository’s stars and forks
  • Whether the repository is popular or not

Getting Started

To get started we use yarn for this project.

  • Download the project and type yarn into the terminal to download all the dependencies.

Prerequisites

  • yarn (latest version)
  • node v19.1.0 (or above)
  • generate a valid GitHub Access Token

Installation

To ran the project locally:

  • Go to github.com --> Settings --> Developer settings --> Personal access token --> Token (Classic) --> Generate new token.
  • Duplicate the .env.example and rename it just .env
  • Paste the previously generated token key in AUTH_GITHUB_KEY

Development

project development

Scripts

List down the npm or yarn scripts available for development, such as:

  • yarn: Download the production-ready depenencies.
  • yarn dev: Run the development environment with hot reloading.

Configuration

The project uses the standard webpack configuration except for the .env files where we used the dotenv plugin, and Octokit to fetch the Github API.

Next Features

  • We caould further develop it implementing a find-as-you-type feature to the searchbar.
  • We caould add a feature to confront different repos to each other.

License

This project is licensed under the MIT License.

orderbird-test's People

Stargazers

Atif Choksi avatar

Watchers

Atif Choksi 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.