
More details about the creation of this project can be found in this video.
A later video demonstrated how to deploy it with Terraform and GitLab CI/CD.
A very simple note-taking app built with an all-Rust stack: Dioxus for the frontend and backend (Axum under the hood on the backend), and SurrealDB as the database.
cargo install dioxus-cli
Run this again even if you've done it before, outdated versions may cause breakagerustup target add wasm32-unknown-unknown
- Install SurrealDB (on a mac,
brew install surrealdb/tap/surreal
) - Start surrealdb with no authentication
surreal start --unauthenticated
We assume it is running on the same machine as DrawsNotes, you'll need to make a code change if it is to run elsewhere - Install tailwindcss if you don't already have it
npm install -g tailwindcss
- In this project directory
npx tailwindcss -i ./input.css -o ./public/tailwind.css --watch
dx serve