wdcodecn / awesome-rust-web

awesome fullstack rust web framework, made by axum & shaku & yew

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Awesome Rust Full Stack Web Framework

With Axum && shaku && yew, this repository represents how can we construct new web server used by rust. Still in progress, not fully done yet.

Because it's not ready yet, still developing!

Key Features

  • DI with shaku
  • All-in-one backend
  • react-like frontend

Commands

# lint
make lint

Dockerizing

If you want to isolate all envs such as database, run docker-compose. You can simply start dockerizing with this command.

make dcu

If you want to stop it, then type

make dcs

If you want to remove docker images, then type

make dcd

backend

# build
make build-backend

frontend

# build
make build-frontend
rustup target add wasm32-unknown-unknown
cargo run --package frontend --bin frontend --target wasm32-unknown-unknown

# run local
brew install trunk
trunk serve # Navigate to the frontend directory and run

About

awesome fullstack rust web framework, made by axum & shaku & yew


Languages

Language:Rust 89.0%Language:Dockerfile 6.4%Language:Makefile 4.1%Language:HTML 0.5%