Skip to content

ruizdiazever/portfolio-rs

Repository files navigation

Portfolio WASM 🦀

Ferris, mascot of Rust

Portfolio WASM powered by Rust with Leptos and Axum

Powered by ⚡️

  • Rust: most powerfull language in solar system.
  • Leptos: A cutting-edge Rust framework for the modern web.
  • Axum: a web application framework that focuses on ergonomics and modularity.
  • TailwindCSS: CSS framework.
  • RedisDB: in-memory data store.

Future implementation for fun 🤪

  • TiKV: a highly scalable, low latency, and easy to use key-value database coded in Rust.
  • Meilisearch: a powerful, open-source search engine offering fast and relevant full-text searches in Rust.

Env

To set in Cloud

API_VERSION="0.0.1"
API_SERVER_URL="127.0.0.1:3002"
RUST_LOG=api=debug,tower_http=info

LEPTOS_OUTPUT_NAME="portfolio"
LEPTOS_SITE_ROOT="site"
LEPTOS_SITE_PKG_DIR="pkg"
LEPTOS_SITE_ADDR="127.0.0.1:3003"
LEPTOS_RELOAD_PORT="3001"

REDIS_PASSWORD=
REDIS_URL=

Run

rustup toolchain install nightly
rustup default nightly
cargo install cargo-leptos
rustup target add wasm32-unknown-unknown
cargo leptos watch