#web-apps #web #static #cli

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

#119 in HTTP server

Download history 266/week @ 2024-05-04 34/week @ 2024-05-11 102/week @ 2024-05-18 16/week @ 2024-05-25

418 downloads per month

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
~151K SLoC