https://github.com/riyadhalnur/micro-github-projects
A micro service to retrieve all public repos for a user. Supports pagination and limits.
https://github.com/riyadhalnur/micro-github-projects
async await micro microservice node nodejs
Last synced: 3 months ago
JSON representation
A micro service to retrieve all public repos for a user. Supports pagination and limits.
- Host: GitHub
- URL: https://github.com/riyadhalnur/micro-github-projects
- Owner: riyadhalnur
- License: mit
- Created: 2017-09-23T17:08:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T05:05:12.000Z (almost 3 years ago)
- Last Synced: 2025-02-08T01:33:51.200Z (about 1 year ago)
- Topics: async, await, micro, microservice, node, nodejs
- Language: JavaScript
- Size: 217 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
micro-github-projects
=================
> A micro service to retrieve all public GitHub repos for a user. Supports pagination and limits.
[](https://deploy.now.sh/?repo=https://github.com/riyadhalnur/micro-github-projects&env=USERNAME&env=TOKEN)
### Usage
In development:
```shell
npm install
npm run dev
```
In production, create a `.env` file with the following variables:
```shell
USERNAME=
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](CONTRIBUTING.md) guide for information.
### License
Licensed under MIT. See [LICENSE](LICENSE) for more information.
### Issues
Report a bug in [issues](https://github.com/riyadhalnur/micro-github-projects/issues).
Made with love in Kuala Lumpur, Malaysia by [Riyadh Al Nur](https://verticalaxisbd.com)