Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/abhagsain/next-github-api

A proxy for Github Jobs API. Thanks to Next.js
https://github.com/abhagsain/next-github-api

github-api github-jobs github-jobs-api

Last synced: 27 days ago
JSON representation

A proxy for Github Jobs API. Thanks to Next.js

Awesome Lists containing this project

README

        

## CORS is 💔 Next.js is ♥

Are you frustrated with the CORS error while using Github Jobs API?

Use [this URL](https://github-api-next.vercel.app/api/positions) to get the data without the headache.

You can pass all the query params that main API supports. [See it here](https://jobs.github.com/api)

![IMAGE](https://user-images.githubusercontent.com/36589645/108876414-311fcd00-7624-11eb-8aad-deead053ca86.png)

Uses Next.js API routes to get the data from the main [Github Jobs API](https://jobs.github.com/positions.json) so you don't have to bang your head for CORS error.

Thanks to [Next.js](https://nextjs.org/) and the [Vercel](https://vercel.com/) it only took 5 minutes.

## Read more about [CORS on MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)