GH-REST is a frontend project built using React and GitHub's rest api.
In the project directory, you can run:
Installs all the required npm packages
-
Create a .env file in the root directory
-
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.
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
gh-rest.vercel.app