My First Rust Program - A Web Server Using Nickel.rs and rust-postgres

— 1 minute read

Rust is a new programming language, from Mozilla, which appeared on my radar recently.

I wanted to get my feet wet by writing a basic HTTP server that could read and write data from a database, and here is my first attempt: nickel-postgres

There are many things that I would like to improve about it - (see the numerous //TODO comments) - but I thought I would share my rookie attempt!

Many thanks to Steve Fackler, author of rust-postgres, for giving me a couple of pointers in the right direction.