Skip to content

A cargo-template for generating a full stack axum / yew web app.

License

Notifications You must be signed in to change notification settings

rksm/axum-yew-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a template for cargo-generate. Use with cargo generate rksm/axum-yew-template.

{{project-name}}

This is a full stack Rust web app using axum and yew.

Usage

Run the dev version (auto-reloads server & client on file change) with ./dev.sh.

Run the pre-compiled version with ./prod.sh.

The app will start at http://localhost:8080 by default. You can modify that by changing the flags passed to the server binary:

Usage: server [OPTIONS]

Options:
  -l, --log <LOG_LEVEL>          set the log level [default: debug]
  -a, --addr <ADDR>              set the listen addr [default: ::1]
  -p, --port <PORT>              set the listen port [default: 8080]
      --static-dir <STATIC_DIR>  set the directory where static files are to be found [default: ../dist]
  -h, --help                     Print help

About

A cargo-template for generating a full stack axum / yew web app.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published