Skip to content
This repository has been archived by the owner on Aug 22, 2021. It is now read-only.

andrewmcodes-archive/repository-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Sharing Image

License: MIT Contributor Covenant

Repository Microservice

Take a look at this Pawprint for a quick understanding!

Features

API endpoint for my GitHub repositories via Vercel API.

It is currently hosted on Vercel, but that will change in the future and instead it will be on a subdomain of my blog.

Usage

Request

curl https://repositories.andrewmcodes.vercel.app/

Response

[
  {
    "id": 205964243,
    ...
    },
  {
    "id": 157638780,
    ...
  }
]

Output is a JSON array of repositories. See GitHub's list organization repositories documentation to learn more.

Installation

NOTE this will use microlinks repo, not mine. The only major difference is I inlined my username for fetching the accounts vs using an env var.

Deploy with Vercel

Achknowledgement

This was originally forked from microlinkhq/oss when deploying to Vercel (which is why this repo is not an actual fork) by Vercel.

Big thanks to them for their work - Definitely check out some of their products if this repo is of interest to you.

microlink.io · GitHub microlink.io · Twitter @microlinkhq

License

MIT

Copyright (c) 2020-present, Andrew Mason