Skip to content

parikshitadhikari/gh-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GH-REST is a frontend project built using React and GitHub's rest api.

Running the project:

In the project directory, you can run:

npm i

Installs all the required npm packages

Setting up environment variables:

  1. Create a .env file in the root directory

  2. Add the following lines to the .env file:

REACT_APP_GITHUB_URL = "https://api.github.com"

REACT_APP_GITHUB_TOKEN = "<add your github access token here>"

To generate personal access token, open github, then goto: settings -> developer settings -> Personal access tokens -> Tokens (classic) -> Generate new token (classic) -> add note and generate new token.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

Project URL

gh-rest.vercel.app

About

Project built using github's rest api

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published