Skip to content

A simple proxy serverless developed in NextJS to fix News API CORS error.

License

Notifications You must be signed in to change notification settings

ondanieldev/news-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

When I was developing an application that uses the News API, I had a problem: the news API couldn't enable CORS for my frontend. So, I needed to develop this proxy for intermediate the requests.

Reuse

This proxy can be used as a proxy to any API, you just need to do some changes on the API that the code calls.

How to run

  1. Install project dependencies:

    npm install or yarn install

  2. Run project:

    npm start or yarn start

License

MIT © Daniel Oliveira

About

A simple proxy serverless developed in NextJS to fix News API CORS error.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published