Skip to content

Files

Latest commit

 

History

History
20 lines (15 loc) · 1.13 KB

README.md

File metadata and controls

20 lines (15 loc) · 1.13 KB

DrawsNotes

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.

  1. cargo install dioxus-cli Run this again even if you've done it before, outdated versions may cause breakage
  2. rustup target add wasm32-unknown-unknown
  3. Install SurrealDB (on a mac, brew install surrealdb/tap/surreal)
  4. 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
  5. Install tailwindcss if you don't already have it npm install -g tailwindcss
  6. In this project directory
    1. npx tailwindcss -i ./input.css -o ./public/tailwind.css --watch
    2. dx serve