#web-apps #rocket-web #web #static

app rocket-starter

Tool to create skeleton for a Rocket-based web application

4 releases (breaking)

0.4.0 May 22, 2024
0.3.0 May 8, 2024
0.2.0 May 8, 2024
0.1.0 May 8, 2024

#224 in HTTP server

MIT/Apache

15KB
396 lines

Rocket starter

Start building a Rocket-based web application.

Install

cargo install rocket-starter

Start a simple Rocket-based application

rocket-starter --simple hello
cd hello
cargo test
cargo run

Start a Rocket-based web application using Tera template

  • Template
  • 404 pages
rocket-starter --tera2 hello
cd hello
cargo test
cargo run

Start a Rocket-based web application using Tera template

  • Template
  • 404 pages
  • Rocket.toml file with custom configuation
rocket-starter --tera1 hello
cd hello
cargo test
cargo run

Release

  • Update the version number in Cargo.toml to 0.4.0
  • Update the CHANGELOG.md
git add .
git commit -m "prepare for 0.4.0"
cargo publish
git tag -a 0.4.0 -m 0.4.0
git push --tags

Dependencies

~3–12MB
~155K SLoC