Creating tide (馃寠) web-server linux (.deb) binary with rust

What?? Updated: 2020-06-24 We are going to make a demo linux web-server with systemd , config file and installable .deb binary in rust. I have been creating web-servers in Node.js for a while. When it comes to running it in production almost always I end up using a solution like pm2 or nodemon to keep the service up and use nginx or apache as reverse proxy to that service. This tutorial is written for people who are fairly new to rust and linux. If you are a developer with battle scars you might get a little out of it 馃槈 so please bear with me. You can also look at the repo here . ...

January 29, 2019 路 7 min 路 Harry Gill  |    

Introducing 'sparkpost' a Rust Crate for email API

Rust is an enjoyable language, and I have been experimenting with it for a some time. I started with creating a few web servers using different crates including rocket and actix. I needed to use an email api to send messages from the backend to either myself or the user. I have used Sparkpost as an email service for such purpose in some of my nodejs apps. Having not found any rust API lib for it I decided to create one for myself. It is available on https://crates.io/crates/sparkpost . ...

October 7, 2018 路 3 min 路 Harry Gill  |    

100 Days of Rust!

I have been struggling to get focused and learn more about the rust language. I would like to be ready when async .await lands on stable rust a few weeks time. So I have decided to write a micro blog series about my experience with learning rust for a 100 days. It won鈥檛 come without its own challenges, biggest being lack of time due to life commitments, and lack of focus and perseverance. It is almost at the end of sailing summer season (I sail twice a week) and it would be nice to have something new and challenging to do while I eagerly wait for next year sailing to start. ...

August 5, 2019 路 1 min 路 Harry Gill  |    

Auth Web Microservice with rust using Actix-Web - Part 3 (deprecated)

Please Read the Updated version using latest actix-web here , gitlab repo master branch now points to latest version Welcome back to part 3 of the tutorial Checkout Part One and Part Two if you haven鈥檛 already. Complete code for this project is on Gitlab master branch. Updating our cargo.toml? Rust ecosystem is moving fast, in a matter of few week we have many of our crates updated upstream including my sparkpost crate(more on that later). Without any delay let鈥檚 just update the follwing crates in our cargo.toml file. ...

November 26, 2018 路 5 min 路 Harry Gill  |    

Auth Web Microservice with rust using Actix-Web - Part 2 (deprecated)

Please Read the Updated version using latest actix-web here , gitlab repo master branch now points to latest version Welcome back to part 2 of the tutorial In part one we have successfully setup bulk base of our Auth microservice. Congratulations if you have your app running and no errors so far. Checkout Part One if you haven鈥檛 already. Complete code for this tutorial is on Gitlab part two branch. Verify User Email or not? Picking up from part one, we now have as server that takes an email address from a request and spits out a JSON response with an invitation object. In part one I said that we will send an email to the user, after some thought and feedback, we will be skipping this part now (look out for part 3). The service that I use is sparkpost and you as the reader of this tutorial may not have an account with them(which is free for small usage). ...

October 28, 2018 路 16 min 路 Harry Gill  |    

Auth Web Microservice with rust using Actix-Web - Part 1 (deprecated)

Please Read the Updated version using latest actix-web here , gitlab repo master branch now points to latest version What? We are going to create a web-server in rust that only deals with user registration and authentication. I will be explaining the steps in each file as we go. The complete project code is here repo . Please take all this with a pinch of salt as I鈥檓 a still a noob to rust 馃槈. ...

October 18, 2018 路 10 min 路 Harry Gill  |