This project is a TodoMVC (Todo List) application implemented with Dioxus Fullstack, a Rust-based SPA (Single Page Application) framework.
It is recommended to use devcontainer.
-
Declare the database URL
export DATABASE_URL="sqlite:data/todos.db"
-
Create the database.
sqlx db create
-
Run sql migrations
sqlx migrate run
-
Build tailwindcss
npx tailwindcss -i ./input.css -o ./public/tailwind.css --watch
-
Launch the Dioxus Fullstack app:
dx build --features web --release cargo run --features ssr --release