Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

authenticated-mirror-server

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

authenticated-mirror-server

A local server that mirrors your protected production API endpoints. It lets you connect your local app to your remote server with protected request header.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

authenticated-mirror-server

GitHub license Known Vulnerabilities

A local server that mirrors your protected production API endpoints. It lets you connect your local app to your remote server with protected request header.

Get started

  • cp .env.template .env
  • npm start

Inside .env, define the credentials required for making requests to the your endpoints. The default port is 8888. After you have finished setting up the .env, run npm start, then you will have a local proxy up and running on http://localhost:[PORT]

Next, you will have to update your app to make requests to http://localhost:[PORT] instead in your local development environment.

Unit test

This module uses Jest and Supertest to perform a quick async unit test on the Node server.

npm test

Keywords

FAQs

Package last updated on 15 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc