Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iraycd/cors-proxy
https://github.com/iraycd/cors-proxy
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/iraycd/cors-proxy
- Owner: iraycd
- Created: 2020-05-28T14:15:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-15T23:25:15.000Z (about 2 years ago)
- Last Synced: 2024-10-15T22:53:23.376Z (3 months ago)
- Language: JavaScript
- Size: 35.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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