https://github.com/heapy/kotlin-dev-proxy
Simple server for proxy requests and host static files written in Kotlin and Undertow.
https://github.com/heapy/kotlin-dev-proxy
developer-proxy developer-tools kotlin undertow
Last synced: 12 months ago
JSON representation
Simple server for proxy requests and host static files written in Kotlin and Undertow.
- Host: GitHub
- URL: https://github.com/heapy/kotlin-dev-proxy
- Owner: Heapy
- License: gpl-3.0
- Created: 2015-06-28T11:30:10.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-02-09T12:51:22.000Z (over 6 years ago)
- Last Synced: 2025-07-03T14:26:56.597Z (12 months ago)
- Topics: developer-proxy, developer-tools, kotlin, undertow
- Language: Kotlin
- Homepage:
- Size: 205 KB
- Stars: 22
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= Simple HTTP Proxy for local development
Proxying static files and request: all what you need in modern SPA development.
Simple install:
[source,bash]
git clone https://github.com/IRus/kotlin-dev-proxy.git
And use:
[source,bash]
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!