Pragmatic way to create a Rust based Web application | From Start to Deployment

A straightforward tutorial on how to setup a Rust based web app with actix and basic templating functionalities. A useless endeavour in post GPT era. I assure you all of this is thought out and planned by a human who wasted some human hours on this. The tools for the trade Actix : Web framework for Rust Tera : Templating engine that is one to one copy of Jinja Templating engine Nginx : HTTP Server Cargo....

December 14, 2023 · voidash

Approaching Rest API Design

The Richardson Maturity Model outlines three levels of REST API maturity that make it RESTful. Level 1 is characterized by the use of URI resources and HTTP methods. Level 2 adds the use of HTTP response codes and HATEOAS. Level 3 adds additional hypermedia controls to further enable discoverability and self-description of the API. CRUD functions HTTP Verb CRUD POST Create GET Read PUT Update/Replace PATCH Update/Modify DELETE Delete Roy Fielding, co-found of HTTP-server project recognized that the web’s scalability was goverened by a set of key constraints....

April 1, 2023 · voidash