Skip to content

riyadhalnur/micro-github-projects

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

micro-github-projects

A micro service to retrieve all public GitHub repos for a user. Supports pagination and limits.

Deploy to now

Usage

In development:

npm install
npm run dev

In production, create a .env file with the following variables:

USERNAME=<your-github-username>
TOKEN=<your-github-token>

Deploy, using the now button at the top, or:
now --dotenv

You can then access the program at the URL generated by now. E.g. https://micro-github-projects-ijcunthall.now.sh/?limit=10&cursor=Ym244ff..., where

limit - the number of results to return
cursor - the cursor id returned for pagination

Contributing

Read the CONTRIBUTING guide for information.

License

Licensed under MIT. See LICENSE for more information.

Issues

Report a bug in issues.

Made with love in Kuala Lumpur, Malaysia by Riyadh Al Nur

About

A micro service to retrieve all public repos for a user. Supports pagination and limits.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published