Build a Simple Blog Platform mini-blog With Rust Axum | https://t.co/M2vweBRSbR
Since I am learning Rust and Axum for web development, So I think the best way to learn is to build a real app.
and for this project(mini-blog), here is the basic techs it it used:
Rust: we use rust programming to build this.
Axum: the web framework we used to build this REST API
PostgreSQL: The Databased used to store user's blog.
JWT authentication: The way how we authenticate the users.
#rustprogramming #axum #WebDevelopment #backend #RestAPI
Rust Tuples
A tuple is a compound data type in Rust that allows you to group together a number of values with potentially different types into one compound type. Tuples have a fixed length, meaning once they're declared, they cannot grow or shrink in size.
#Rust#rustlang
https://t.co/a66wK1Rtri
Rust Data Types
In Rust, every value has a specific data type which dictates how it's stored in memory and what operations can be performed on it. Rust is a statically typed language, meaning that the compiler needs to know the types of all variables at compile time.
Rust data types are divided into two main categories:
Scalar Types: Single value types
Compound Types: Types that group multiple values together
Let's focus on scalar types and their usage in Rust.
https://t.co/vulzaHcSMG
Learn Rust Day 1
## Rust Variables and Mutability
In Rust, variables are immutable by default, which means that once a value is bound to a name, you can't change that value. This is one of Rust's core design principles that helps provide safety and enables easier concurrency.