Giter Club home page Giter Club logo

intercepting-proxy's Introduction

WORK IN PROGRESS

Build Status Dependency Status

Intercepting Proxy

An intercepting proxy written in Node.js with React + Redux, based on boilerplate from https://github.com/chentsulin/electron-react-boilerplate/

The proxy is currently listening on port 8080.

To intercept network calls set your browser to use proxy at 120.0.0.1 with port 8080

  • switch button on intercept all requests, press Forward to pass each the request
  • switch button off pass through and prxy will show all calls and responses without blocking

After you have cloned the repository, you can install dependencies with yarn

$ yarn

Note: If you can't use yarn, run npm install.

Run

Start the app in the dev environment. This starts the renderer process in hot-module-replacement mode and starts a webpack dev server that sends hot updates to the renderer process:

$ npm run dev

Alternatively, you can run the renderer and main processes separately. This way, you can restart one process without waiting for the other. Run these two commands simultaneously in different console tabs:

$ npm run start-renderer-dev
$ npm run start-main-dev

Packaging

To package apps for the local platform:

$ npm run package

To package apps for all platforms:

First, refer to Multi Platform Build for dependencies.

Then,

$ npm run package-all

To package apps with options:

$ npm run package -- --[option]

To run End-to-End Test

$ npm run build
$ npm run test-e2e

๐Ÿ’ก You can debug your production build with devtools by simply setting the DEBUG_PROD env variable:

DEBUG_PROD=true npm run package

For further information on the structure of this app please refer to the original boilerplate README

intercepting-proxy's People

Contributors

chickpeas avatar

Stargazers

Nguyen Tuan Son avatar Patrick Luzolo avatar

Watchers

James Cloos avatar Patrick Luzolo avatar  avatar

intercepting-proxy's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.