Paosder / actix-yew-app-template

Actix + Yew + Tailwindcss = :)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

actix-yew-app-template

Rust based full stack web application template.

backend

actix_web (rust)

frontend

Frontend Framework: yew (rust) CSS Framework: tailwindcss

Prerequisites

  • Rust 1.50 or above
  • Node 14 or above
  • Yarn 1.22 or above

This repository uses yew, the Rust based WASM framework, so you have to install wasm-related crate.

> rustup target add wasm32-unknown-unknown
> cargo install wasm-bindgen-cli

Or just execute bootstrap.sh.

Install

> yarn && yarn bootstrap

Development

> yarn dev

Build

> yarn build

The result directory is dist, execute backend-main to run server.

About

Actix + Yew + Tailwindcss = :)


Languages

Language:Rust 84.9%Language:JavaScript 5.8%Language:HTML 5.4%Language:Shell 2.4%Language:CSS 1.6%