Skip to content

An API that passes your request to another API, this way you can keep your API_KEY's secure on the backend.

Notifications You must be signed in to change notification settings

eclipticrick/api-request-passer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup (example with coinmarketcap's API)

routes.js
const BASE_URL = 'https://pro-api.coinmarketcap.com/v1';
const ROUTES = {
    get: [
        '/cryptocurrency/listings/latest',
        '/cryptocurrency/listings/historical',
    ],
    put: [],
    post: [],
    delete: [],
};
const HEADERS = {
    'X-CMC_PRO_API_KEY': '🖕🏽'
};

Usage

npm run start

Then navigate to localhost:7000/your-endpoint

About

An API that passes your request to another API, this way you can keep your API_KEY's secure on the backend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published