Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/abhagsain/next-github-api
- Owner: abhagsain
- Created: 2021-02-23T16:17:39.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-23T19:26:23.000Z (almost 4 years ago)
- Last Synced: 2024-12-20T23:53:40.324Z (about 1 month ago)
- Topics: github-api, github-jobs, github-jobs-api
- Language: JavaScript
- Homepage: https://github-api-abhagsain.vercel.app
- Size: 53.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)