Files
schafkop-neu/schafkopf-os
..
2025-10-11 01:00:23 +02:00
2025-10-11 01:00:23 +02:00
2025-10-11 01:00:23 +02:00
2025-10-10 23:01:09 +02:00
2025-10-11 01:00:23 +02:00
2025-10-11 01:00:23 +02:00
2025-10-10 23:01:09 +02:00

schafkopf-os — Test Frontend (Axum + Askama)

This crate serves a tiny test frontend using Axum + Askama and static assets.

Run

cargo run --manifest-path schafkopf-os/Cargo.toml

Then open:

Or test the API directly:

curl -s http://127.0.0.1:3000/api/ping | jq

Structure

  • src/main.rs — Axum server with routes / and /api/ping, and static files at /static
  • templates/index.html — Askama template for the homepage
  • static/styles.css — Minimal styling
  • static/app.js — Browser script to call the ping API