Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michalswi/simple-rust-web-server
simple Rust http web server
https://github.com/michalswi/simple-rust-web-server
docker rust simple-web-server
Last synced: 12 days ago
JSON representation
simple Rust http web server
- Host: GitHub
- URL: https://github.com/michalswi/simple-rust-web-server
- Owner: michalswi
- License: mit
- Created: 2022-07-12T06:55:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-21T14:04:43.000Z (over 2 years ago)
- Last Synced: 2024-11-13T22:13:21.926Z (2 months ago)
- Topics: docker, rust, simple-web-server
- Language: Makefile
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Simple Rust Web Server
```
$ makeUsage:
makeTargets:
run Run app
docker-build Build docker image
docker-run Run docker
docker-stop Stop docker
```### \# example
```
$ make run
SERVER_PORT=8080 cargo run --release
Finished release [optimized] target(s) in 0.07s
Running `target/release/simple-rust-web-server`
Server is ready to handle requests at port: 8080$ curl localhost:8080/hello/world
Hello, world!
```