Skip to content

A well-structured fullstack Rust web app built with Dioxus, TailwindCSS, SQLx, and PostgreSQL

Notifications You must be signed in to change notification settings

rabbit19981023/dioxus-todo-fullstack

Repository files navigation

  1. Run postgres via docker-compose:
docker compose up -d
  1. Setup database with sqlx:
cargo install sqlx-cli
sqlx migrate run --database-url postgres://postgres:postgres@localhost:5432/postgres
  1. Compile tailwind:
npx tailwindcss -i ./input.css -o ./assets/tailwind.css
  1. Launch app with hot realod:
DATABASE_URL=postgres://postgres:postgres@localhost:5432/postgres dx serve

About

A well-structured fullstack Rust web app built with Dioxus, TailwindCSS, SQLx, and PostgreSQL

Topics

Resources

Stars

Watchers

Forks