Heapy / kotlin-dev-proxy

Simple server for proxy requests and host static files written in Kotlin and Undertow.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple HTTP Proxy for local development

Proxying static files and request: all what you need in modern SPA development.

Simple install:

git clone https://github.com/IRus/kotlin-dev-proxy.git

And use:

cd kotlin-dev-proxy
./gradlew run

Setup

Make copy of application.yml.sample in same directory and name it application.yml. Change application.yml to meet your need.

Available configuration

  • port - port on with proxy will be started

  • host - host to run application

  • mappings - prefix for API requests and target host

  • files - location of static files on disk, for example: C:\\dev\\projects\\frontend or /home/user/dev/frontend

Contribution

Please leave feedback, create issues and make pull request!

About

Simple server for proxy requests and host static files written in Kotlin and Undertow.

License:GNU General Public License v3.0


Languages

Language:Kotlin 96.4%Language:Shell 3.6%