Simple Rust project, incrementally growing.
Check out intermediate git
commits to see the program grow:
- Hello world
- Introduction to common Rust language patterns
- A regular expression parser (see https://github.com/stefan-kaestle/code4fun-rust for a simple performance comparison with Java and Python)
- A REST API server that exposes this in the browser via json
- A database backend, fetching data from a mysql server
Finally, a web-server (with actix
) using a mysql database as backend (with diesel
).
For participants of the Code4Fun, there is still a mysql server up and running (and will be for a while longer):
echo DATABASE_URL="mysql://rustuser:\%[email protected]/rustdemo" > .env
Otherwise, you can also setup your own. The working set can be downloaded from: