Created Axum routing for localhost, also SQL Table structure

Added a axum router and listener for serving a web page on localhost.
Also a sql table structure was created with sqlx migrate for storing
tickets and users
This commit is contained in:
2026-04-22 13:08:14 +02:00
parent ca54a03d07
commit 9972863232
6 changed files with 2267 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
CREATE TABLE users (
id SMALLINT PRIMARY KEY AUTOINCREMENT,
name VARCHAR(30),
firstname VARCHAR(30),
is_admin BOOLEAN NOT NULL DEFAULT false
);