A minimal Rust API server built with Axum.
This repository contains the code built step by step in my tutorial at ubuverse.com/introduction-to-restful-api-development-with-rust-for-nodejs-developers/.
cargo runcargo testReturns all colors.
{
"colors": ["RED", "GREEN", "BLUE"]
}Adds a new color.
{
"color": "BLUE"
}{
"colors": ["BLUE"]
}GPL-3.0