Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pdehaan/octokit-rest-test

Testing the @octokit/rest GitHub API for getting repository information for a specific org/repo.
https://github.com/pdehaan/octokit-rest-test

11ty eleventy git github octokit

Last synced: about 2 months ago
JSON representation

Testing the @octokit/rest GitHub API for getting repository information for a specific org/repo.

Awesome Lists containing this project

README

        

# octokit-rest-test

Testing the [@octokit/rest](https://www.npmjs.com/package/@octokit/rest) GitHub package for getting repository information for a specific org/repo.

## SETUP

Because GitHub has API limits for people who don't bother getting API keys, I fetch and cache the GitHub responses into the [./src/_data](src/_data) directories. So before running eleventy, you'll need to run npm run seed-data.

## GETTING STARTED

```sh
git clone https://github.com/pdehaan/octokit-rest-test.git
cd octokit-rest-test
npm run seed-data
npm run serve
```