https://github.com/panda4817/serverless-api
My own serverless API with several Netlify lambda functions to get data from third party APIs, with CORS enabled.
https://github.com/panda4817/serverless-api
api cors javascript lambda-functions netlify npm severless
Last synced: about 1 month ago
JSON representation
My own serverless API with several Netlify lambda functions to get data from third party APIs, with CORS enabled.
- Host: GitHub
- URL: https://github.com/panda4817/serverless-api
- Owner: Panda4817
- Created: 2021-02-26T22:25:57.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-21T17:12:36.000Z (almost 5 years ago)
- Last Synced: 2025-06-03T10:10:22.771Z (about 1 year ago)
- Topics: api, cors, javascript, lambda-functions, netlify, npm, severless
- Language: JavaScript
- Homepage:
- Size: 2.11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serverless Netlify Api
[](https://app.netlify.com/sites/panda-serverless-api/deploys)
I needed to request data from a third party News API, which involved an API key. After googling different options, the serverless API system seems to be the best and also gave me an opportunity to learn about something new.
I added a xkcd API that has CORS enabled as the original xkcd API does not have CORS enabled.
I also added an API to fetch the latest Google doodle from the Google doodle API.
I also added an API to fetch a random dad joke from the icanhazdadjoke.com.
All of these APIs are for a chrome extension that replaces the new tab with an informative xkcd themed one instead.