https://github.com/jmoney/nc-hello-world
Hello world application showing a simple web server using netcat
https://github.com/jmoney/nc-hello-world
github-site
Last synced: about 1 month ago
JSON representation
Hello world application showing a simple web server using netcat
- Host: GitHub
- URL: https://github.com/jmoney/nc-hello-world
- Owner: jmoney
- License: apache-2.0
- Created: 2021-12-01T04:34:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-06T15:02:55.000Z (over 4 years ago)
- Last Synced: 2025-03-16T17:11:33.777Z (over 1 year ago)
- Topics: github-site
- Language: Dockerfile
- Homepage: https://www.github.com/jmoney/nc-hello-world
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nc-hello-world
Demo repo that shows how to run a web server with some simple scripting utilities.
## Developing locally
To run the sever locally we use `docker`. There is a provided `docker-compose` yaml to simpliy the config.
```bash
docker-compose up --build
```
Then in another tab run
```bash
curl -s "http://localhost:9001"
```
The example front the netcat script with haproxy. Haproxy is a proper proxy layer and is responsible for brokering conncections to the netcat script, which is not a proper http server that can handle multiple connections.