Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/iraycd/cors-proxy


https://github.com/iraycd/cors-proxy

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# CORS Proxy

This simple Node.js-based proxy allows your JavaScript application to call services that are hosted on a different domain and that don't support [CORS](http://en.wikipedia.org/wiki/Cross-origin_resource_sharing).

Because the proxy is itself CORS-enabled, your application and the proxy don't have to be hosted on the same
domain.

This proxy was tested with the Salesforce.com REST API, but it should work with other services as well.

## Installation

There are different options to get your own instance of the CORS proxy up and running:

```bash
yarn install
node server.js -website="http://google.com"
```
Just replace the http://google.com with what ever you want to proxy