Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1004 Bytes

File metadata and controls

55 lines (37 loc) · 1004 Bytes

Blog

A blog engine written in Rust, powered by SurrealDB. This project runs https://rust-dd.com.

Stack

  • Dioxus 0.7.x (fullstack + router)
  • Axum 0.8
  • SurrealDB 3.x
  • TailwindCSS

Local Development

Prerequisites

Install Dioxus CLI:

cargo install dioxus-cli

Prepare the database (schema lives in database/schema/, managed by surrealkit):

./db.sh
cargo binstall surrealkit
surrealkit sync

Install frontend tooling:

npm install

Run Dioxus fullstack dev server with Subsecond hotpatch:

dx serve --web --hotpatch

dx automatically compiles Tailwind when tailwind.css exists in the project root.

Build

Bundle app:

dx bundle --web --release