Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

## Simple Rust Web Server

```
$ make

Usage:
make

Targets:
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!
```