Skip to content

This repository contains a simple proxy server implemented using Node.js, Express, and the http-proxy library.

Notifications You must be signed in to change notification settings

Paula-Refaat/proxy-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy Server

project-image

Introduction:

This repository houses a lightweight proxy server built using Node.js, Express, and the http-proxy library. The primary purpose of this proxy server is to receive requests from clients, manage API requests, and relay responses back to the clients. It provides a flexible and extensible solution for handling API communication within a network.

🧐 Features

Here're some of the project's best features:

  • Proxy Middleware: Middleware to intercept requests and forward them to a specified API server.
  • Logging: Detailed logging of incoming requests and successful forwarding.
  • Error Handling: Graceful handling of errors during the proxying process.
  • API Endpoint: An example API endpoint (/target) on the proxy server that participates in the proxying process.
  • JSON Parsing: Middleware to parse JSON requests for better compatibility.

🛠️ Installation Steps:

  1. node.js
npm init
  1. express
npm install express

3. httpProxy

npm install http-proxy

4. nodemon

npm install nodemon

Contributing

If you are interested in contributing to the Proxy Server, please feel free to submit a pull request. We welcome all contributions!

Contact

If you have any questions or feedback, please feel free to contact us at [poularefaat86@gmail.com].

About

This repository contains a simple proxy server implemented using Node.js, Express, and the http-proxy library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published