Skip to content

Nicolas-Menettrier/repository-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository Search

This is a small React app that allows you to search for repositories on GitHub and view their details.

Prerequisites

Before you begin, make sure you have the following installed:

Node.js and npm (comes with Node.js)

Git

Getting started

To get started with the app, follow these steps:

Clone the repository to your local machine:

git clone https://github.com/Nicolas-Menettrier/repository-search.git

Navigate to the project directory:

cd repository-search

Install the dependencies:

npm install

Run the development server:

npm start

The app will now be running at http://localhost:3000.

Configuring the GitHub API access

To access the GitHub API, you will need to provide a personal access token in the REACT_APP_GITHUB_TOKEN environment variable. To obtain a personal access token, follow these steps:

Copy the generated token and set it as the value of the REACT_APP_GITHUB_TOKEN environment variable. You can do this by creating a .env file in the root of the project and adding the following line:

REACT_APP_GITHUB_TOKEN=YOUR_TOKEN_HERE

Replace YOUR_TOKEN_HERE with your actual personal access token.

Built with

React - JavaScript library for building user interfaces

GitHub API - RESTful API for interacting with GitHub

About

Search repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published