Skip to content

wowser20/go-rest-proxy

Repository files navigation

go-rest-proxy

A simple forward proxy server intended to secure client HTTP requests with JWT authentication utilizes https://dummyjson.com/ for the dummy API responses.

I made this to familiarize the proxy implementation using REST API for the endpoints, as well as applying CLEAN architecture for the project structure, I haven't implemented dependency injection for this cause I want this to be as simple as possible since this is just a personal project for learning purposes.

What is a proxy?

A proxy, also called a forward proxy, routes traffic between clients and external systems, regulating it according to policies, masking IP addresses, enforcing security protocols, and blocking unknown traffic.

If you want to check the OpenAPI Documentation and test out the endpoints, you can visit the following URL:

Run locally

Initialize the environment variables, .env file

cp .env.example .env

To build the application or check if it's working, run:

make build

To run or start the proxy application: build, install, and run:

make 

Then connect to this port, to locally access the OpenAPI documentation

http://localhost:8080/docs

About

Simple forward proxy server for securing HTTP requests

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published