Moved server, added backend structs and added ui elements.

This commit is contained in:
matthias committed 2026-01-15 02:53:47 +01:00
1 parent 25a47bbce9
commit 0d5fef7fbb
19 files changed
+3355 -123

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
use serde::{Deserialize, Serialize};
use crate::models::origin::Origin;
use crate::models::variant::Variant;
#[derive(Debug, Deserialize, Serialize, Clone)]
pub struct Article {
pub id: usize,
pub name: String,
pub bio: bool,
pub origin: Origin,
pub description: Option<String>,
pub ingredients: Option<String>,
pub variants: Vec<Variant>,
}